Type-driven development

Mastering Typed Programming

From Programming with Types by Vlad Riscutia


Type-Level Functions: calculating types

From Type-Driven Development with Idris by Edwin Brady

In Idris, types and expressions are part of the same language and you use the same syntax for both. This article talks about type-level functions in Idris and how expressions can appear in types.


A First Example of Dependent Data Types

From Type-Driven Development with Idris by Edwin Brady

In this article, you will learn about defining dependent data types and defining vectors with Idris.

Interactive Editing in Atom

From Type-Driven Development with Idris by Edwin Brady

In this article, we’ll begin writing some complex Idris functions, using its interactive editing features to develop those functions, step by step, in a type-directed way. We’ll use the Atom text editor, because there’s an extension available for editing Idris programs, which can be installed directly from the default Atom distribution. This article assumes you have the interactive Idris mode up and running.

© 2020 Manning — Design Credits