上传者: 43960172
|
上传时间: 2019-12-21 21:49:52
|
文件大小: 3.27MB
|
文件类型: pdf
The Reasoned Schemer (MIT Press) (The MIT Press)
By 作者: Daniel P Friedman – William E Byrd – Oleg Kiselyov – Jason Hemann
ISBN-10 书号: 0262535513
ISBN-13 书号: 9780262535519
Edition 版本: second edition
出版日期: 2018-03-09
pages 页数: (206)
A new edition of a book, written in a humorous question-and-answer style, that shows how to implement and use an elegant little programming language for logic programming.
The goal of this book is to show the beauty and elegance of relational programming, which captures the essence of logic programming. The book shows how to implement a relational programming language in Scheme, or in any other functional language, and demonstrates the remarkable flexibility of the resulting relational programs. 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 with a functional language or with the first five chapters of The Little Schemer is assumed.
For this second edition, the authors have greatly simplified the programming language used in the book, as well as the implementation of the language. In addition to revising the text extensively, and simplifying and revising the “Laws” and “Commandments,” they have added explicit “Translation” rules to ease translation of Scheme functions into relations.
Copyright
Contents
Foreword
Preface
Acknowledgements
Since the First Edition
1.Playthings
2.Teaching 01d Toys New Tricks
3.Seeing 01d Friends in New Ways
4.Double Your Fun
5.Members Ornly
6.The Fun Never Ends…
7.A Bit Too Much
8.Just a Bit More
9.Thin Ice
10.Under the Hood
A.Connecting the Wires
B.Welcome to the Club
Afterword
Index