Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Gentle Introduction to Dependent Types with Idris

    Gentle Introduction to Dependent Types with Idris

    2018

    Dependent types are a powerful concept that allows us to write proof-carrying code. Idris is a programming language that supports dependent types. We will learn about the mathematical foundations, and then write correct software and mathematically prove properties about it.This book aims to be accessible to novices that have no prior experience beyond high school mathematics. Thus, this book is designed to be self-contained.The first part of this book serves as an introduction to the theory behind Idris, while the second part is a practical introduction to Idris with examples.

    Mathematics
    Open LibraryAmazon
    Stats for nerds
    1recommend
    2mentions
    2people
    2018–2025years
    50% recommend50% neutral

    Mentions per year

    20182019202020212022202320242025

    What Hacker News says

    1. codeismathAug 2025
      Books. Some books on my shelf covering these topics:

      "Type Theory and Functional Programming" by Simon Thompson (PDF available via quick search)

      First 120 pages of "Type Theory and Formal Proof" by Rob Nederpelt / Herman Geuvers

      For some early stuff on dependent types (also covered in the above), check out "Intuitionistic Type Theory" by Per Martin-Lof

      "Computation and Reasoning: A Type Theory for Computer Science" by Zhaouhui Luo

      "Type-Driven Development with Idris" by Edwin Brady

      "Gentle Introduction to Dependent Types with Idris" by Boro Sitnikovski

      "Types and Programming Languages" by Pierce

      "Practical Foundations for Programming Languages" by Robert Harper (or any of his YouTube videos re/Type Theory)

      "The Little Typer" by Friedman and Christiansen

      "Modal Homotopy Type Theory: The Prospect of a New Logic for Philosophy" by David Corfield (just took this one to OBX North Carolina to enjoy on my beach vacation last week! Got some salt water in those pages. Also speaks to Category Theory.)

      For Category Theory:

      "The Joy of Abstraction" (2023) by Euginia Cheng

      "Basic Category Theory for Computer Scientists" by Benjamin C. Pierce

      "Conceptual Mathematics: A first introduction to categories" by Lawvere and Schanuel

      "Categories for the Working Philosopher" by Landry

      thread
    2. bor0Aug 2018
      To me, personally, the biggest barrier was lack of a proper introduction with a lot of examples.

      I try to break this barrier a bit with my upcoming book: Gentle Introduction to Dependent Types with Idris.

      I am very interested in this area but it is impossible for newcomers to get a grasp of it without too much digging. Logical Foundations was OK but I was still missing the theoretical explanation ("why does this tactic work? it is magic!").

      So with accumulated knowledge from IRC, forums I hope to address this.

      thread

    Related

    Cover of Type theory and functional programming
    2014–2025

    Type theory and functional programming

    Simon Thompson
    2 recommend · 6
    Cover of Type Theory and Formal Proof
    2016–2026

    Type Theory and Formal Proof

    Rob Nederpelt
    11 recommend · 15
    Intuitionistic type theoryPer Martin-Löf
    2016–2025

    Intuitionistic type theory

    Per Martin-Löf
    1 recommend · 6
    Cover of The Little Typer
    2018–2026

    The Little Typer

    Daniel P. Friedman
    16 recommend · 37
    Cover of Type-driven Development with Idris
    2016–2026

    Type-driven Development with Idris

    Edwin Brady
    30 recommend · 47
    Cover of Types and Programming Languages
    2008–2026

    Types and Programming Languages

    Benjamin C. Pierce
    132 recommend · 321
    Cover of The Little Schemer
    2007–2026

    The Little Schemer

    Daniel P. Friedman
    288 recommend · 652
    Cover of On LISP
    2007–2026

    On LISP

    Paul Graham
    192 recommend · 533