js-fp-algorithms

所属分类:数学计算
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2017-12-06 04:38:16
上 传 者sh-1993
说明:  JavaScript算法,函数编程风格
(JavaScript algorithms, in a functional programming style)

文件列表:
.babelrc (27, 2017-12-05)
.prettierrc (157, 2017-12-05)
.travis.yml (37, 2017-12-05)
LICENSE (1077, 2017-12-05)
bfs/ (0, 2017-12-05)
bfs/index.js (628, 2017-12-05)
binary-search/ (0, 2017-12-05)
binary-search/index.js (681, 2017-12-05)
bubble-sort/ (0, 2017-12-05)
bubble-sort/index.js (689, 2017-12-05)
dfs/ (0, 2017-12-05)
dfs/index.js (465, 2017-12-05)
fibonacci/ (0, 2017-12-05)
fibonacci/index.js (273, 2017-12-05)
flatten/ (0, 2017-12-05)
flatten/index.js (169, 2017-12-05)
package-lock.json (37664, 2017-12-05)
package.json (667, 2017-12-05)
quicksort/ (0, 2017-12-05)
quicksort/index.js (321, 2017-12-05)
rotate-list/ (0, 2017-12-05)
rotate-list/index.js (129, 2017-12-05)
run-length/ (0, 2017-12-05)
run-length/index.js (289, 2017-12-05)
shuffle/ (0, 2017-12-05)
shuffle/index.js (397, 2017-12-05)
test/ (0, 2017-12-05)
test/bfs.test.js (445, 2017-12-05)
test/binary-search.test.js (296, 2017-12-05)
test/bubble-sort.test.js (412, 2017-12-05)
test/dfs.test.js (480, 2017-12-05)
test/fibonacci.test.js (244, 2017-12-05)
test/flatten.test.js (609, 2017-12-05)
test/quicksort.test.js (406, 2017-12-05)
test/rotate-list.test.js (610, 2017-12-05)
test/run-length.test.js (513, 2017-12-05)
test/shuffle.test.js (285, 2017-12-05)
test/uniq.test.js (263, 2017-12-05)
... ...

# js-fp-algorithms [![Build Status](https://api.travis-ci.org/ryanmcdermott/js-fp-algorithms.svg?branch=master)](https://travis-ci.org/ryanmcdermott/js-fp-algorithms) A collection of algorithms written in JavaScript in a functional programming style. ## The Philosophy You might think that a "functional programming style" means monads, cofunctors, and applicative dinguses. Actually, it just means no loops, no mutations, and no side effects, ### No loops Anything expressed in `for` and `while` can also be expressed in recursion. ### No mutations No variables are mutated because there are no variables, only constants. ### No side effects Functions will always produce the same output given the same input. No sneaky global variables, calling the network, or running quicksort and then deleting all your songs on Spotify. ## Installation `npm install` ## Testing `npm t`

近期下载者

相关文件


收藏者