Type-driven Development with Idris

Type-Driven Development with Idris
Author: Edwin Brady (Author)
Publisher finelybook 出版社:‏ Manning
Edition 版本:‏ First Edition
Publication Date 出版日期:‏ 2017-03-31
Language 语言: English
Print Length 页数: 480 pages
ISBN-10: 1617293024
ISBN-13: 9781617293023

Book Description


Summary

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 Idris teaches 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 Brady leads the design and implementation of the Idris language.

Table of Contents


  1. PART 1 – INTRODUCTION

  2. Overview
  3. Getting started with Idris

    PART 2 – CORE IDRIS

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

  12. PART 3 – IDRIS AND THE REAL WORLD

  13. Streams and processes: working with infinite data
  14. Writing programs with state
  15. State machines: verifying protocols in types
  16. Dependent state machines: handling feedback and errors
  17. Type-safe concurrent programming

About the Author

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

Amazon page

相关文件下载地址

PDF, EPUB | 16 MB
下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Type-driven Development with Idris

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫