lemonad
所属分类:TypeScript编程
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2020-05-23 21:45:37
上 传 者:
sh-1993
说明: javascript的函数编程库。优雅JS的实验。
(a functional programming library for javascript. an experiment in elegant JS.)
文件列表:
LICENSE (1062, 2020-05-07)
docs/ (0, 2020-05-07)
docs/common.css (480, 2020-05-07)
docs/favicon.ico (1150, 2020-05-07)
docs/lemonad-cheatsheet.tex (6822, 2020-05-07)
docs/lemonad.png (80827, 2020-05-07)
docs/logo.png (11776, 2020-05-07)
docs/menu.org (304, 2020-05-07)
docs/presentations/ (0, 2020-05-07)
docs/presentations/gfx/ (0, 2020-05-07)
docs/presentations/gfx/boolean.svg (3518, 2020-05-07)
docs/presentations/gfx/function-post.svg (2180, 2020-05-07)
docs/presentations/gfx/function-pre.svg (2337, 2020-05-07)
docs/presentations/gfx/function-wrapped.svg (2767, 2020-05-07)
docs/presentations/gfx/function.svg (1911, 2020-05-07)
docs/presentations/gfx/hash.svg (3098, 2020-05-07)
docs/presentations/gfx/number.svg (3517, 2020-05-07)
docs/presentations/gfx/sequence.svg (2554, 2020-05-07)
docs/presentations/gfx/something.svg (3160, 2020-05-07)
docs/presentations/gfx/string.svg (3519, 2020-05-07)
docs/screen.css (784, 2020-05-07)
docs/site/ (0, 2020-05-07)
docs/site/css/ (0, 2020-05-07)
docs/site/css/style.css (670, 2020-05-07)
docs/site/index.html (1103, 2020-05-07)
docs/what.org (2925, 2020-05-07)
examples/ (0, 2020-05-07)
examples/nationjs/ (0, 2020-05-07)
examples/nationjs/shape.js (690, 2020-05-07)
examples/poetry/ (0, 2020-05-07)
examples/poetry/index.html (1265, 2020-05-07)
examples/poetry/poetry.js (2175, 2020-05-07)
examples/proton/ (0, 2020-05-07)
examples/proton/css/ (0, 2020-05-07)
examples/proton/css/styles.css (833, 2020-05-07)
examples/proton/img/ (0, 2020-05-07)
examples/proton/img/proton.jpg (30818, 2020-05-07)
... ...
lemonad
=======
A functional programming library for JavaScript inspired by [Clojure](http://www.clojure.org), [Haskell](http://www.haskell.org/), [SML](http://www.smlnj.org/) and [Forth](http://www.forth.com/forth/).
![lemonad](https://raw.github.com/fogus/lemonad/master/docs/logo.png)
## Using
Add the following to your 'package.json' file in the `"dependencies"` section:
"lemonad": "0.7.4"
## Currently available functions
```javascript
[ '$',
'CAS',
'CASMixin',
'L',
'Hole',
'RefMixin',
'VERSION',
'WatchableMixin',
'actions',
'addWatch',
'checker',
'compareAndSwap',
'ctor',
'curry',
'curry2',
'curry3',
'curry4',
'dec',
'dispatcher',
'eq',
'filter',
'gt',
'gte',
'invokeAll',
'is',
'isArguments',
'isArray',
'isObject',
'isReference',
'isString',
'lift',
'lt',
'lte',
'map',
'meth',
'invoker',
'walterWhite',
'mix',
'nth',
'partial1',
'partial2',
'pipeline',
'rcurry',
'rcurry2',
'rcurry3',
'rcurry4',
'reduce',
'removeWatch',
'rot',
'setValue',
'swap',
'typed' ]
```
Influences / References
-----------------------
* [Clojure and ClojureScript](http://www.clojuredocs.org)
* [Inheritance Patterns in JavaScript](http://bolinfest.com/javascript/inheritance.php) by Michael Bolin
* [Underscore.js](http://underscorejs.org/)
* [Functional JavaScript](http://osteele.com/sources/javascript/functional/) by Oliver Steele
* Functional JavaScript (the book)
Todo
-----
* The rest of the things
* Promises/A-compatible functions (http://wiki.commonjs.org/wiki/Promises/A)
* Moar monadology
* Logic vars?
* Unification?
* Other things that I can't think of right now
* Generators / iterators?
* Futures?
* Laziness?
* Badass memoize
* Some data generators?
* merges
* walking
* rel alg
* `into` for objects
* make sure that anything that works for array also works for `arguments`
* Make sure I say, *sequence* on input and *array* on output
* yggdrasil
* undermine
* reb
* cljs
* tables
* bach.js
* datalog
* poems
* shape decls
* cheatsheet
* site
License
=======
This software is provided as-is under the [MIT license](http://opensource.org/licenses/MIT).
近期下载者:
相关文件:
收藏者: