idris: 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 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
Modules
- IRTS
- IRTS.BCImp
- IRTS.Bytecode
- IRTS.CodegenC
- IRTS.CodegenCommon
- IRTS.CodegenJava
- IRTS.CodegenJavaScript
- IRTS.Compiler
- IRTS.Defunctionalise
- IRTS.DumpBC
- IRTS.Inliner
- Java
- IRTS.Java.ASTBuilding
- IRTS.Java.JTypes
- IRTS.Java.Mangling
- IRTS.Java.Pom
- JavaScript
- IRTS.JavaScript.AST
- IRTS.Lang
- IRTS.Simplified
- IRTS.System
- Idris
- Idris.ASTUtils
- Idris.AbsSyntax
- Idris.AbsSyntaxTree
- Idris.Apropos
- Idris.CaseSplit
- Idris.Chaser
- Idris.CmdOptions
- Idris.Colours
- Idris.Completion
- Core
- Idris.Core.Binary
- Idris.Core.CaseTree
- Idris.Core.Constraints
- Idris.Core.DeepSeq
- Idris.Core.Elaborate
- Idris.Core.Evaluate
- Idris.Core.Execute
- Idris.Core.ProofState
- Idris.Core.TC
- Idris.Core.TT
- Idris.Core.Typecheck
- Idris.Core.Unify
- Idris.Coverage
- Idris.DSL
- Idris.DataOpts
- Idris.DeepSeq
- Idris.Delaborate
- Idris.Docs
- Idris.Docstrings
- Idris.ElabDecls
- Idris.ElabQuasiquote
- Idris.ElabTerm
- Idris.Erasure
- Idris.ErrReverse
- Idris.Error
- Idris.Help
- Idris.IBC
- Idris.IdeSlave
- Idris.IdrisDoc
- Idris.Imports
- Idris.Inliner
- Idris.Interactive
- Idris.Output
- Idris.ParseData
- Idris.ParseExpr
- Idris.ParseHelpers
- Idris.ParseOps
- Idris.Parser
- Idris.PartialEval
- Idris.Primitives
- Idris.ProofSearch
- Idris.Prover
- Idris.Providers
- Idris.REPL
- Idris.REPLParser
- Idris.Transforms
- Idris.TypeSearch
- Idris.Unlit
- Idris.WhoCalls
- Pkg
- Pkg.Package
- Util
- Util.DynamicLinker
- Util.ScreenSize
Flags
Manual Flags
Name | Description | Default |
---|---|---|
llvm | Build the LLVM backend | Disabled |
ffi | Build support for libffi | Disabled |
gmp | Use GMP for Integers | Disabled |
curses | Use Curses to get the screen width | Disabled |
release | This is an official release | Enabled |
freestanding | Build an Idris that doesn't use cabal | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- idris-0.9.14.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates