书籍 The Reasoned Schemer的封面

The Reasoned Schemer

Daniel P. Friedman

出版社

The MIT Press

出版时间

2005-10-14

ISBN

9780262562140

评分

★★★★★
书籍介绍

The goal of The Reasoned Schemer is to help the functional programmer think logically and the logic programmer think functionally. The authors of The Reasoned Schemer believe that logic programming is a natural extension of functional programming, and they demonstrate this by extending the functional language Scheme with logical constructs -- thereby combining the benefits of both styles. The extension encapsulates most of the ideas in the logic programming language Prolog.The pedagogical method of The Reasoned Schemer is a series of questions and answers, 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 assumed. Adding logic capabilities required the introduction of new forms. The authors' goal is to show to what extent writing logic programs is the same as writing functional programs using these forms. In this way, the reader of The Reasoned Schemer will come to understand how simple logic programming is and how easy it is to define functions that behave like relations.

用户评论
实在是不喜欢这种问答风格。。不过under the hood那章还行,理解逻辑编程了
这一版的实现自定义了很多奇怪的宏。。。肥肠不好读。。。第二版的实现简洁很多
在逻辑里迷路了
巨好看
这本太绕了
没有prolog编程经验,太费脑力了。