Tutorial: 15:00–16:30 (English)
A practical introduction to Idris2
A few years ago, I stumbled upon the book “Type-Driven Development in Idris” written by Edwin Brady, the creator of Idris. At that time, dependently-typed programming languages looked like a logical next step after Haskell which has been my programming language of choice for a couple decades. Yet not being a mathematician, nor a student of programming languages or type systems, I struggled to understand what “dependent types” were about. I loved Idris’ relative simplicity, how well Edwin Brady explained it, and started trying to find ways to actually do practical things with Idris.
This tutorial stems from my experience learning and programming in Idris (1 then 2) as a humble “professional programmer.” It aims at spreading the love and demonstrating, through concrete examples, that Idris is a practical and relatively easy to learn language that can run in a wide variety of environments, and whose features are useful to design reliable and elegant software.
I propose to structure this tutorial into three stages:
- Introduction to Idris2 and environment setup
- A short “Coding kata” demonstrating basic coding workflow and some features of Idris
- A longer collective coding session where the participants take turn to “drive” the development of a solution to a problem using dependent types
This tutorial is aimed at people with some functional programming experience interested in dependent types.
Arnaud Bailly
Arnaud has been developing software and helping teams develop software for nearly three decades, in various technologies, contexts and roles. He is interested in everything software-related with a peculiar passion for strongly-typed functional programming.