小骗子和球拍 [英] Little Schemer and Racket

查看:109
本文介绍了小骗子和球拍的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始阅读Little Schemer,现在我们有了Racket,而不是PLT Scheme.我想知道Racket是否适合做本书中的练习,还是我需要获得另一个真正的Scheme编译器.在我忘记告诉您之前,我的操作系统是Windows x64.

I'm starting to read the Little Schemer and now instead of PLT Scheme we have Racket. I would like to know if Racket is suitable for doing the exercises in the book or do I need to get another true Scheme compiler. Before I forgot to tell you, my OS is Windows x64.

这本书,语言和范式足够复杂,我希望避免与编译器纠缠.

The book, language and paradigm is complex enough, I would love to avoid struggling with a compiler.

非常感谢.

推荐答案

DrRacket是DrScheme的(r)演进; DrRacket将非常适合"The Little Schemer"中的练习.只是不要忘记:

DrRacket is the (r)evolution of DrScheme; DrRacket will work perfectly for the exercises in "The Little Schemer". Just don't forget to:

  1. Language对话框中,选择使用源中声明的语言"
  2. 在创建的每个文件的顶部写入#lang racket
  3. 按照书的开头所述,在每个文件中添加atom?谓词
  4. 如果要重新实现现有过程,请在单独的选项卡或窗口中执行,因为尝试在编辑窗口中重写过程将导致duplicate definition for identifier错误.如有必要,请使用几个文件来保存过程定义
  1. In the Language dialog, choose "Use the language declared in the source"
  2. Write #lang racket at the top of each file you create
  3. Implement the atom? predicate in each file as explained at the very beginning of the book
  4. If you're going to re-implement an existing procedure, do so in a separate tab or window, because trying to rewrite a procedure in the edit window will result in a duplicate definition for identifier error. If necessary, use several files for saving the procedure definitions

这篇关于小骗子和球拍的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆