Type-driven Development With Idris by Edwin BradyType-driven Development With Idris by Edwin Brady

Type-driven Development With Idris

byEdwin Brady

Paperback | April 7, 2017

Pricing and Purchase Info


Earn 325 plum® points

Prices and offers may vary in store


In stock online

Ships free on orders over $25

Not available in stores



Type-Driven Development with Idris, written by the creator of Idris, teaches you how to improve the performance and accuracy of your programs by taking advantage of a state-of-the-art type system. This book teaches you with Idris, a language designed to support type-driven development.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

Stop fighting type errors! Type-driven development is an approach to coding that embraces types as the foundation of your code - essentially as built-in documentation your compiler can use to check data relationships and other assumptions. With this approach, you can define specifications early in development and write code that's easy to maintain, test, and extend. Idris is a Haskell-like language with first-class, dependent types that's perfect for learning type-driven programming techniques you can apply in any codebase.

About the Book

Type-Driven Development with Idristeaches you how to improve the performance and accuracy of your code by taking advantage of a state-of-the-art type system. In this book, you'll learn type-driven development of real-world software, as well as how to handle side effects, interaction, state, and concurrency. By the end, you'll be able to develop robust and verified software in Idris and apply type-driven development methods to other languages.

What's Inside

  • Understanding dependent types
  • Types as first-class language constructs
  • Types as a guide to program construction
  • Expressing relationships between data

About the Reader

Written for programmers with knowledge of functional programming concepts.

About the Author

Edwin Bradyleads the design and implementation of the Idris language.

Table of Contents


  1. Overview
  2. Getting started with Idris


  3. Interactive development with types
  4. User-defined data types
  5. Interactive programs: input and output processing
  6. Programming with first-class types
  7. Interfaces: using constrained generic types
  8. Equality: expressing relationships between data
  9. Predicates: expressing assumptions and contracts in types
  10. Views: extending pattern matching

  12. Streams and processes: working with infinite data
  13. Writing programs with state
  14. State machines: verifying protocols in types
  15. Dependent state machines: handling feedback and errors
  16. Type-safe concurrent programming
Edwin Bradyleads the design and implementation of the Idris language. He is a Lecturer in Computer Science and regularly speaks at conferences.
Title:Type-driven Development With IdrisFormat:PaperbackDimensions:480 pages, 9.25 × 7.38 × 0.68 inPublished:April 7, 2017Publisher:Manning PublicationsLanguage:English

The following ISBNs are associated with this title:

ISBN - 10:1617293024

ISBN - 13:9781617293023

Look for similar items by category: