sshpandas
V2EX  ›  Lisp

哪里可以找到关于 ANSI Common Lisp 中函数名字的由来?

  •  
  •   sshpandas · Jan 12, 2017 · 6300 views
    This topic created in 3416 days ago, the information mentioned may be changed or developed.

    刚开始学 ANSI Common Lisp ,很多函数的名字都很奇怪。比如mapcar为什么叫mapcar?直接叫map不好吗?又比如,不自动换行的print为什么叫prin1?取 list 的第一个元素为什么叫car?诸如此类的问题,哪里可以找到相关的资料?

    1 replies    2018-01-06 00:02:17 +08:00
    ZoomQuiet
        1
    ZoomQuiet  
       Jan 6, 2018
    一般来说, 官方文档都有...
    car 寄存器地址部分( Contents of the Address part of the Register )
    cdr 和寄存器减量部分( Contents of the Decrement part of the Register )

    这种早期的硬件命名缩写的堆叠变成了今天奇怪的 LISP 内置关键字
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4414 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 05:33 · PVG 13:33 · LAX 22:33 · JFK 01:33
    ♥ Do have faith in what you're doing.