Type-Driven Development with Idris - Edwin Brady

Type-Driven Development with Idris

(Autor)

Buch | Softcover
480 Seiten
2017
Manning Publications (Verlag)
978-1-61729-302-3 (ISBN)
43,79 inkl. MwSt
Written by the creator of Idris.
You will learn:
  • Understanding dependent types
  • Types as first-class language constructs
  • Types as a guide to program construction
  • Expressing relationships between data

Type-driven development lets you write extensible code, create simple specifications very early in development, and easily create mock implementation for testing. In type-driven development, types become your tools for constructing programs and, used appropriately, can show the absence of errors.

Types are often seen as a tool for checking errors, with the programmer writing a complete program first and using the type checker to detect errors. And while tests are used to show presence of errors, they can only find errors that you explicitly test for. In typedriven development, types become your tools for constructing programs and, used appropriately, can show the absence of errors.

And you can express precise relationships between data, your assumptions are explicit and checkable, and you can precisely state and verify properties.

Type-driven development lets users write extensible code, create simple specifications very early in development, and easily create mock implementation for testing.

Type-Driven Development with Idris, written by the creator of Idris, teaches programmers how to improve the performance and accuracy of programs by taking advantage of a state-of-the-art type system. This book teaches readers using Idris, a language designed from the very beginning to support type-driven development. Readers learn how to manipulate types just like any other construct (numbers, strings, lists, etc.).

This book teaches how to use type-driven development to build real-world software, as well as how to handle side-effects, state and concurrency, and interoperating with existing systems. By the end of this book, readers will be able to develop robust and verified software in Idris and apply type-driven development methods to programming in other languages.

Written for programmers with knowledge of basic functional programming concepts.

Edwin Brady leads the design and implementation of the Idris language. He is a Lecturer in Computer Science and regularly speaks at conferences.

Highly recommended for anyone developing software with serious safety requirements. Arnaud Bailly, GorillaSpace

A clear and complete view of type-driven development that reveals the power of dependent types. Nicolas Biri, Luxembourg Institute of Science and Technology

After reading this book, TDD took on a new meaning for me. Giovanni Ruggiero, Eligotech

Erscheinungsdatum
Verlagsort New York
Sprache englisch
Maße 185 x 234 mm
Gewicht 771 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Programmiersprachen / -werkzeuge
Mathematik / Informatik Informatik Software Entwicklung
Schlagworte Idris • Softwareentwicklung • TDD • Types
ISBN-10 1-61729-302-4 / 1617293024
ISBN-13 978-1-61729-302-3 / 9781617293023
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich