Functional Programming Language with Dependent Types.
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
Idris 1
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.