书栈网 · BookStack 本次搜索耗时 0.014 秒,为您找到 40874 个相关结果.
  • 13.2 编译 (Compilation)

    13.2 编译 (Compilation) 13.2 编译 (Compilation) 有五个参数可以控制代码的编译方式: speed (速度)代表编译器产生代码的速度; compilation-speed (编译速度)代表程序被编译的速度; safety (安全) 代表要对目标代码进行错误检查的数量; space (空间)代表目标代码的大小和内存需...
  • Good Object-Oriented Design

    Good Object-Oriented Design Good Object-Oriented Design That’s about it for the main features of Common Lisp’s object system. If you have lots of experience with object-oriente...
  • Looping

    Looping Looping Control constructs are the other main kind of looping constructs. Common Lisp’s looping facilities are—in addition to being quite powerful and flexible—an inter...
  • 4.1 数组 (Array)

    4.1 数组 (Array) 4.1 数组 (Array) 在 Common Lisp 里,你可以调用 make-array 来构造一个数组,第一个实参为一个指定数组维度的列表。要构造一个 2 x 3 的数组,我们可以: > ( setf arr ( make - array '(2 3) :initial-element nil)) ...
  • 13. Beyond Lists: Other Uses for Cons Cells

    13. Beyond Lists: Other Uses for Cons Cells Copyright © 2003-2005, Peter Seibel 13. Beyond Lists: Other Uses for Cons Cells As you saw in the previous chapter, the list dat...
  • Local Flow of Control

    Local Flow of Control Local Flow of Control The next four special operators I’ll discuss also create and use names in the lexical environment but for the purposes of altering t...
  • Chapter 4 总结 (Summary)

    Chapter 4 总结 (Summary) Chapter 4 总结 (Summary) Common Lisp 支持至少 7 个维度的数组。一维数组称为向量。 字符串是字符的向量。字符本身就是对象。 序列包括了向量与列表。许多序列函数都接受标准的关键字参数。 处理字符串的函数非常多,所以用 Lisp 来解析字符串是小菜一碟。 调用 defstr...
  • Other Structures

    Other Structures Other Structures While cons cells and lists are typically considered to be synonymous, that’s not quite right—as I mentioned earlier, you can use lists of list...
  • 1.1 新的工具 (New Tools)

    1.1 新的工具 (New Tools) 1.1 新的工具 (New Tools) 为什么要学 Lisp?因为它让你能做一些其它语言做不到的事情。如果你只想写一个函数来返回小于 n 的数字总和,那么用 Lisp 和 C 是差不多的: ; Lisp /* C */ ( defun sum ( n )...
  • A. GIMP History

    Appendix A. GIMP History 1. The Very Beginning Appendix A. GIMP History 1. The Very Beginning According to Peter Mattis and Spencer Kimball, the original creators of GIMP, in ...