Idris is a general purpose language with full dependent types. It is compiled, with eager evaluation. Dependent types allow types to be predicated on values, meaning that some aspects of a program's behaviour can be specified precisely in the type. The language is closely related to Epigram and Agda. There is a tutorial at https://www.idris-lang.org/documentation. Features include: Full, first class, dependent types with dependent pattern matching where clauses, with rule, case expressions, pattern matching let and lambda bindings Interfaces (similar to type classes), monad comprehensions do notation, idiom brackets, syntactic conveniences for lists, tuples, dependent pairs Totality checking Coinductive types Indentation significant syntax, extensible syntax Cumulative universes Simple foreign function interface (to C) Hugs style interactive environment


Keywords
compilers-interpreters, dependent-types, library, program, Propose Tags, https://www.idris-lang.org/documentation, Skip to Readme, , Last Documentation, More info, idris-1.3.4.tar.gz, browse, Package description, Package maintainers, EdwinBrady, niklasl, edit package information , 0.9.9.3, 0.9.10, 0.9.17, 0.9.17.1, 0.9.18, 0.9.18.1, 0.9.19, 0.9.19.1, 0.9.20, 0.9.20.1, 0.10, 0.10.1, 0.10.2, 0.10.3, 0.11, 0.11.2, 0.12, 0.12.2, 0.12.3, 0.99, 0.99.1, 0.99.2, 1.0, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.3.1, 1.3.2, https://idris-lang.org/, found on the Idris Wiki, Installation Guide, here, Idris 2, Wiki, mailing list, Idris Hackers, Contributing Guide
License
BSD-3-Clause
Install
cabal install idris-1.3.4

Documentation

Idris 1

Build Status Appveyor build Documentation Status Hackage Stackage LTS Stackage Nightly IRC

Idris (https://idris-lang.org/) is a general-purpose functional programming language with dependent types.

Installation

This repository represents the latest development version of the language, and may contain bugs that are being actively worked on. For those who wish to use a more stable version of Idris please consider installing the latest version that has been released on Hackage. Installation instructions for various platforms can be found on the Idris Wiki.

More information about building Idris from source has been detailed in the Installation Guide

Code Generation

Idris has support for external code generators. Supplied with the distribution is a C code generator to compile executables, and a JavaScript code generator with support for node.js and browser JavaScript.

More information about code generators can be found here.

Status

This is Idris 1, implemented in Haskell. Idris 1 is not actively worked on anymore.

Idris 2 is the next generation of Idris, and where primary development happens.

More Information

If you would like to find out more information, or ask questions, we currently have a Wiki; a mailing list, and an IRC channel #idris on freenode. To join the IRC channel, point your irc client to chat.freenode.net then /join #idris.

For those further interested in using Idris for projects, the Idris Hackers GitHub organisation is where some interesting projects are being hosted.

For those interested in contributing to Idris directly we kindly ask that prospective developers please consult the Contributing Guide first.