`
cryolite
  • 浏览: 573643 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

the little schemer - 1

阅读更多
这本书的目的是教人学会递归的思考(think recursively, think different)
有三种方式阐述这一问题:自然语言、形式化数学(formal mathematics),或者一门程序语言;自然语言模糊、不精确而且罗唆,容易引起歧义;形式化数学正好想反,它只用少许的符号就能强有力的表示形式化的主意,但是不经过专门的训练很难掌握;所以这本书选择用程序语言讲述递归的概念。程序语言可以像形式化数学那样使用一套符号进行形式化表达,但不像形式化数学,这种表达是可以通过自己做实验来体会的

car([Head|_]) -> Head.

cdr([_|Tail]) -> Tail.

cons(S, L) when is_list(L) -> [S|L];
cons(S, L) -> throw(must_be_list).

分享到:
评论

相关推荐

    The little Schemer - Daniel P. Friedman.doc

    一本基础的Scheme书,很基础,可以作为SICP的基础书

    The Little Schemer 4th.mobi

    《The Little Schemer:递归与函数式的奥妙》是一本久负盛名的经典之作,两位作者Daniel P. Friedman、Matthias Felleisen在程序语言界名声显赫。《The Little Schemer:递归与函数式的奥妙》介绍了Scheme的基本结构...

    The Little Schemer (4th).pdf

    《The Little Scheme》英文版第四版PDF。

    The Little Schemer_4th.pdf

    The goal of this book is to teach the reader to think recursively. And to read this book, the reader must be comfortable reading English, recognizing numbers, and counting.

    The Little Schemer

    The Little Schemer The Little Schemer

    The little schemer第十章解释器代码

    The little schemer第十章解释器代码,里面包含了解释器用到的所有辅助函数,这个解释器和seasoned第二十章的解释器简单很多,比较好理解,在学习的朋友有需要可以看看

    无穷积分matlab代码-the-little-schemer:小计划者

    the-little-schemer the little schemer 道法自然的好书 上学最宝贵的收获之一是结交学识过人的朋友。自己闷头学得山穷水尽时,高手轻轻一句点拨,眼前便峰回路转,柳暗花明。每次上完课,有幸和朋友小聚,请教弱智...

    The Seasoned Schemer(非扫描)

    Steele Jr.The notion that "thinking about computing is one of the most exciting things the human mind can do" sets both The Little Schemer (formerly known as The Little LISPer) and its new companion ...

    The Reasoned Schemer

    which proceed with the characteristic humor that marked The Little Schemer and The Seasoned Schmer. Familiarity with a functional language or with the first eight chapters of The Little Schemer is ...

    The Reasoned Schemer, 2nd Edition

    As in the first edition, the pedagogical method is a series of questions and answers, which proceed with the characteristic humor that marked The Little Schemer and The Seasoned Schemer. Familiarity ...

    the little schemer

    这是关于函数式编程的一本书,基于Scheme而写,是一本教人理解计算本质的书

    the_little_schemer:《The Little Schemer》笔记

    the_little_schemer 《小计谋》笔记

    the little scheme 4th epub mobi

    the little scheme 4th epub 适合电子书阅读的版本 可以直接再很多电子书上阅读 The.Little.Schemer.4th The.Little.Schemer.4th.mobi

    the seasoned schemer

    The little schemer的续集,schemer 三部曲之二。被称为 the soul of scheme。

    the little scheme (示例代码,windows运行环境, pdf文件 和 [The Seasoned Schemer pdf])

    文件包含: [the little scheme.pdf] 书上的例子源码, windows运行环境(执行scheme程序), 和其姊妹篇 [The Seasoned Schemer.pdf] 文件

    the little schemer 4th edition

    这本书使用函数语言schemer,从简单到复杂,一步步理解递归的本质与妙用,非常值得一看

    The seasoned schemer

    the little schemer的姐妹篇,对于毫无编程经验的新手,本书也能带你初探计算的本质-递归。

    The Little Typer

    Readers should be familiar with the basics of a Lisp-like programming language, as presented in the first four chapters of The Little Schemer. The first five chapters of The Little Typer provide the ...

Global site tag (gtag.js) - Google Analytics