- 博客(5)
- 资源 (17)
- 收藏
- 关注
原创 SICP Exercise 4.16
首先,我们先定义一下关于unassigned的定义和函数: ;;Representing unassigned constant (define UNASSIGNED (quote '*unassigned*)) (define (unassigned? val) (eq? val '*unassigned*)) 1、修改lookup-variable-value,这个比较简单,
2012-05-31 21:53:33 1262
原创 SICP Exercise 4.14
Exercise 4.14 1、Eva的map能够工作是应该的,因为Eva在求值器中定义了map。 2、那么Louis的map为什么不能工作呢? 首先,让我们来看一下map的基本使用方式(在scheme中,而不是在求值器中): (map (lambda (x) (* 2 x)) '(1 2 3 4)) => (2 4 6 8)可以看出map函数的使用方式和其他作为基本过程安装的函数(如
2012-05-30 22:41:10 1393
原创 SICP Exercise 4.13
;; Exercise 4.13 我认为make-unbound!应该只删除第一个frame里面的约束。我的原因有一下几点: 1,make-unbound!和define对应,前者是删除约束,而后者是添加约束(有时是改变已有的约束)。define是在第一个frame中定义约束,所以make-unbound!也应该是从第一个框架中删除约束。 2,根据封装的原则,不应该在当前enviro
2012-05-30 21:08:36 1233
转载 network-manager与interfaces冲突
【转自】http://blog.csdn.net/xinling1588/article/details/7037294,我在这里只是修改了一些原文章的格式。 Ubuntu下修改网络配置有两种方式:图形界面方式(network-manager)和修改/etc/network/interfaces,但是如果两种方式的网络设置不同,就会产生冲突,即:network-manager与/etc/netw
2012-05-26 22:42:03 3105
原创 单向链表反转
今天在看一篇文章中说RethinkDB公司在面试的过程中发现很多程序员不能通过下面的题目: 请写出一个C函数,实现反转一个单向链接表的功能。 我就试试自己能否做出来。我现在越来越不相信写的代码了,必须经过我的测试之后,我稍微放心。所以我也写了测试程序,我希望下面的代码能够达到好的可读性。 #include #include #include #define ARRAY_SIZ
2012-05-10 15:40:39 1106
Paradigms of Artificial Intelligence Programming: Case Studies in Common Lisp
2012-06-25
高德纳论文选--knuth
2011-04-10
吉林大学《可计算性与计算复杂性》 笔记
2011-04-10
Basic Papers on Undecidable Propositions, Unsolvable Problems and Computable Functions
2011-03-09
The Annotated Turing
2010-12-13
Apress.Scripting.Intelligence.Web.3.0.Information.Gathering.and.Processing.Jul.2009.pdf
2010-08-04
Algorithms of the Intelligent Web
2010-07-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人