Content added Content deleted
|
|
(15 intermediate revisions by the same user not shown) |
{{language|AntLang}}
AntLang is a practical functional language.
Its documentation is on github: [https://github.com/ac1235/AntLang-Docs/ Documentation on github]
For example check this fibonacci implementation:
<lang AntLang>fib:{foldl[{x concat seq[(-1 elem x) + -2 elem x]}; 0 seq 1; range[x]]}</lang>
AntLang has many unconventional features like first class operators, since operator = function with arity 2:
<lang AntLang>op:{elem[x; seq[+; -; *]]}
2 op[0] 2</lang>
|
Latest revision as of 17:08, 13 December 2018
Subcategories
This category has only the following subcategory.
Pages in category "AntLang"
The following 24 pages are in this category, out of 24 total.