V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
sshpandas
V2EX  ›  Lisp

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

  •  
  •   sshpandas · Jan 12, 2017 · 6242 views
    This topic created in 3396 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   ·   2509 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 06:13 · PVG 14:13 · LAX 23:13 · JFK 02:13
    ♥ Do have faith in what you're doing.