~Onlooker 2009-10-08 16:58 采纳率: 0%
浏览 284
已采纳

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条回答 默认 最新

  • 零零乙 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条)

报告相同问题?

悬赏问题

  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程