The Little Typer

  • 时间: 2018-09-23 07:03:38


An introduction to dependent types, demonstrating the most beautiful aspects, one step at a time.

A program's type describes its behavior. Dependent types are a first-class part of a language, and are much more powerful than other kinds of types; using just one language for types and programs allows program descriptions to be as powerful as the programs they describe. The Little Typerexplains dependent types, beginning with a very small language that looks very much like Scheme and extending it to cover both programming with dependent types and using dependent types for mathematical reasoning. 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 Typerprovide the needed tools to understand dependent types; the remaining chapters use these tools to build a bridge between mathematics and programming. Readers will learn that tools they know from programming—pairs, lists, functions, and recursion—can also capture patterns of reasoning. The Little Typerdoes not attempt to teach either practical programming skills or a fully rigorous approach to types. Instead, it demonstrates the most beautiful aspects as simply as possible, one step at a time.


$38.00S ISBN: 9780262536431 424pp. | 9 in x 7 in 23 b&w illus.



Daniel P. Friedman

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 Schemerand The Seasoned Schemer(with Matthias Felleisen); The Little Prover(with Carl Eastlund); and The Reasoned Schemer(with William E. Byrd, Oleg Kiselyov, and Jason Hemann).

David Thrane Christiansen

David Thrane Christiansen is a member of the technical staff at Galois, Inc., in Portland, Oregon.


Robert Harper and Conor McBride.