Skip navigation
Paperback | $38.00 X | £31.95 | 184 pp. | 6.875 x 9 in | October 2005 | ISBN: 9780262562140
eBook | $38.00 X | October 2005 | ISBN: 9780262332491
Mouseover for Online Attention Data

The Reasoned Schemer

Overview

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 Schemer. 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.

About the Authors

Daniel P. Friedman is Professor of Computer Science in the School of Informatics, Computing, and Engineering at Indiana University and is the author of many books published by the MIT Press, including The Little Schemer; The Seasoned Schemer; A Little Java, A Few Patterns (each of these coauthored with Matthias Felleisen); and The Little Prover (coauthored with Carl Eastlund).

William E. Byrd is a scientist in the Department of Computer Science at the University of Alabama at Birmingham.

Oleg Kiselyov is Assistant Professor in the Graduate School of Information Sciences at Tohoku University, Japan.

Endorsements

“Contrary to popular belief, logic programming doesn't always mean programming in Prolog. In this groundbreaking book, Friedman and Kiselyov extend Scheme to form a completely new kind of logic programming system, one which is in many ways even more elegant than Prolog. Written in the same classic question-and-answer format as the authors' previous book The Little Schemer, The Reasoned Schemer covers goals, first-class relations, interleaved and non-interleaved backtracking, the relationship between relational and functional programming, and much more. Reading this book will not only cause your geek rating to skyrocket and impress all the Cool Kids, it will also open your eyes to a paradigm of programming which most programmers are completely unaware of, but which will undoubtedly play a significant role in the programming systems of the future. More importantly, though, this book is great fun to read and will make you a better programmer.”
Michael Vanier, Caltech