derek5. 2009-10-08 16:58 采纳率: 100%
浏览 236
已采纳

Lisp / Scheme 中的"(省略号)"是什么?

I am on day 1 hour 1 of teaching myself Scheme. Needless to say, I don't understand anything. So I'm reading The Little Schemer and using this thing:

http://sisc-scheme.org/sisc-online.php

as an interpreter.

I need to use ' in for example

(atom? 'turkey)

to avoid an "undefined variable" error. The ', according to the book, is a Common Lisp thing.

I have two questions:

  1. Is the interpreter I mentioned above a good one? Can you recommend another? I need one that will go well with The Little Schemer.

  2. What is '?

转载于:https://stackoverflow.com/questions/1539144/what-is-apostrophe-in-lisp-scheme

  • 写回答

7条回答 默认 最新

  • ℡Wang Yan 2009-10-08 17:02
    关注

    The form 'foo is simply a faster way to type the special form

    (quote foo)
    

    which is to say, "do not evaluate the name foo and replace it with its value; I really mean the name foo".

    I think SISC is perfectly fine for exploring the exercises in TLS.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(6条)

报告相同问题?

悬赏问题

  • ¥20 蓝牙耳机怎么查看日志
  • ¥15 Fluent齿轮搅油
  • ¥15 八爪鱼爬数据为什么自己停了
  • ¥15 交替优化波束形成和ris反射角使保密速率最大化
  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏