Skip to content
项目

关于

一种支持一等类型的纯函数式编程语言

编程语言与运行时

这些数字如何统计

实测星标增长

24小时
+2
7天
+10
15天
+19
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Idris 2

Documentation Status Build Status

Idris 2 is a purely functional programming language with first class types.

For installation instructions, see INSTALL.md.

The wiki lists a number of useful resources, in particular

Installation and Packages

The most common way to install the latest version of Idris and its packages is through pack Idris' package manager. Working with the latest version of Idris is as easy as pack switch latest. Follow instructions on the pack repository for how to install pack.

To use pack and idris, you will need an .ipkg file (Idris-package file) that describes your idris project. You can generate one with idris2 --init. Once setup with an .ipkg file, pack gives you access to the pack collection of packages, a set of compatible libraries in the ecosystem. If your dependency is in the depends field of your .ipkg file, pack will automatically pull the dependency from you matching pack collection. The wiki hosts a list of curated packages by the community.

Finally, pack also makes it easy to download, and keep updated version of, idris2-lsp, and other idris-related programs.

Resources to Learn Idris 2

Books

Tutorials

Official talks

Community talks

Documentation

Docker images

Things still missing

  • Cumulativity (currently Type : Type. Bear that in mind when you think you've proved something)
  • rewrite doesn't yet work on dependent types

Contributions wanted

If you want to learn more about Idris, contributing to the compiler could be one way to do so. The contribution guidelines outline the process. Having read that, choose a good first issue or have a look at the contributions wanted for something more involved. This map should help you find your way around the source code. See the wiki page for more details.

探索相关项目

加载中…