skip to main content
10.1145/2428116.2428118acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
invited-talk

Idris: general purpose programming with dependent types

Published:22 January 2013Publication History

ABSTRACT

Idris (http://idris-lang.org/) is a general purpose pure functional programming language with dependent types. Its syntax is influenced by Haskell and its features include full dependent types and records, type classes, tactic based theorem proving, totality checking and an optimising compiler with a foreign function interface.

One of the goals of the Idris project is to bring type-based program verification techniques to functional programmers while still supporting efficient systems programming via an optimising compiler and interaction with external libraries. In this talk I will introduce dependently typed programming using Idris, and demonstrate its features using several examples including an interpreter for the simply typed lambda calculus, and a verified binary adder. I will also show how the Idris compiler generates executable code, maintaining a phase distinction between compile-time and run-time terms.

Index Terms

  1. Idris: general purpose programming with dependent types

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        PLPV '13: Proceedings of the 7th workshop on Programming languages meets program verification
        January 2013
        86 pages
        ISBN:9781450318600
        DOI:10.1145/2428116

        Copyright © 2013 Copyright is held by the owner/author(s)

        Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 22 January 2013

        Check for updates

        Qualifiers

        • invited-talk

        Acceptance Rates

        PLPV '13 Paper Acceptance Rate7of10submissions,70%Overall Acceptance Rate18of25submissions,72%

        Upcoming Conference

        POPL '25

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader