idris: Functional Programming Language with Dependent Types
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
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 http://www.idris-lang.org/documentation. Features include:
Full dependent types with dependent pattern matching
where clauses, with rule, simple case expressions, pattern matching let and lambda bindings
Type classes, monad comprehensions
do notation, idiom brackets, syntactic conveniences for lists, tuples, dependent pairs
Totality checking
Coinductive types
Indentation significant syntax, extensible syntax
Tactic based theorem proving (influenced by Coq)
Cumulative universes
Simple foreign function interface (to C)
Hugs style interactive environment
Properties
Flags
Manual Flags
Name | Description | Default |
---|---|---|
llvm | Build the LLVM backend | Enabled |
Automatic Flags
Name | Description | Default |
---|---|---|
effects | Build the effects package | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- idris-0.9.9.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees