Idris-Elba-Dev

所属分类:collect
开发工具:Haskell
文件大小:0KB
下载次数:0
上传日期:2017-03-29 20:03:58
上 传 者sh-1993
说明:  一种基于空白的依赖类型函数编程语言,
(A Whitespace-Based Dependently Typed Functional Programming Language,)

文件列表:
.travis.yml (1053, 2014-02-01)
CHANGELOG (10093, 2014-02-01)
CONTRIBUTING.md (5484, 2014-02-01)
CONTRIBUTORS (475, 2014-02-01)
LICENSE (1602, 2014-02-01)
Makefile (1215, 2014-02-01)
Setup.hs (7577, 2014-02-01)
benchmarks/ (0, 2014-02-01)
benchmarks/ALL (47, 2014-02-01)
benchmarks/build.pl (311, 2014-02-01)
benchmarks/quasigroups/ (0, 2014-02-01)
benchmarks/quasigroups/Main.idr (601, 2014-02-01)
benchmarks/quasigroups/Parser.idr (2639, 2014-02-01)
benchmarks/quasigroups/Solver.idr (7319, 2014-02-01)
benchmarks/quasigroups/board (288, 2014-02-01)
benchmarks/quasigroups/qgsolve.ipkg (83, 2014-02-01)
benchmarks/run.pl (503, 2014-02-01)
benchmarks/trivial/ (0, 2014-02-01)
benchmarks/trivial/sortvec.idr (665, 2014-02-01)
benchmarks/trivial/sortvec.ipkg (92, 2014-02-01)
config.mk (697, 2014-02-01)
contribs/ (0, 2014-02-01)
contribs/gtksourceview-2.0-language-spec/ (0, 2014-02-01)
contribs/gtksourceview-2.0-language-spec/idris.lang (8595, 2014-02-01)
contribs/idriscasesplit.vim (2033, 2014-02-01)
contribs/idrislang.sty (9363, 2014-02-01)
contribs/lib/ (0, 2014-02-01)
contribs/lib/SQLite3/ (0, 2014-02-01)
contribs/lib/SQLite3/Makefile (291, 2014-02-01)
contribs/lib/SQLite3/Sqlexpr.idr (12123, 2014-02-01)
contribs/lib/SQLite3/Sqlite3.idr (17320, 2014-02-01)
contribs/lib/SQLite3/newdb.db (6144, 2014-02-01)
contribs/lib/SQLite3/somedb.db (8192, 2014-02-01)
contribs/lib/SQLite3/sqlite3.tex (7542, 2014-02-01)
contribs/lib/SQLite3/sqlite3api.c (11095, 2014-02-01)
contribs/lib/SQLite3/sqlite3api.h (2935, 2014-02-01)
... ...

Idris Elba ========== Idris Elba is an experimental whitespace-based functional programming language with dependent types. Background ---------- [Edwin Brady](http://edwinb.wordpress.com/) is the creator (with others) of the [Idris](http://www.idris-lang.org/) and [Whitespace](http://compsoc.dur.ac.uk/whitespace/) programming languages. Idris Elba is a synthesis of the primary ideas in both languages, nameley dependent typing and using whitespace for everything. The suffix "Elba" is inspired by the surname of the British actor [Idris Elba](http://www.imdb.com/name/nm0252961/), and means "white". Examples -------- The syntax of Idris Elba is very close to that of Whitespace. An Idris Elba "hello world" program might look like this (Idris Elba, like Haskell, uses `.` for function composition): . Idris Elba features dependent types. Here is a quicksort example showing featuring a return type of sorted list: . . . . Dependent types can also be used to express constraints on the arguments to functions. Here is an example showing that a function taking the head of a list is only defined for non-empty lists: . . . . Building -------- To configure, edit config.mk. The default values should work for most people. To install, type 'make'. This will install everything using cabal and typecheck the libraries. To run the tests, type 'make test' which will execute the test suite, and 'make relib', which will typecheck and recompile the standard library. Idris Elba has optional buildtime dependencies on the C libraries llvm-3.3 and libffi. If you would like to use the features that these enable, be sure these are compiled for the same architecture as your Haskell compiler (e.g. 64 bit libraries for 64 bit ghc). By default, Idris Elba builds without them. To build with them, pass the flags -f LLVM and -f FFI, respectively. To build with LLVM and libffi by default, create custom.mk or add the following line to it: CABALFLAGS += -f LLVM -f FFI The file custom.mk-alldeps is a suitable example. Idris Elba has a runtime dependency on libgmp, and on Boehm GC (libgc) when using the LLVM codegen. These are needed for linking into compiled programs, so be sure these are compiled for Idris Elba's default target architecture (usually 64 bit on x86_64 systems).

近期下载者

相关文件


收藏者