├── .gitignore ├── .travis.yml ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── assets ├── listopard.png └── listopard.svg ├── codecov.yml ├── package.json ├── src ├── curried.ts ├── devtools.ts ├── fantasy-land.ts ├── index.ts ├── methods.ts └── ramda.ts ├── test ├── bench │ ├── README.md │ ├── append.suite.js │ ├── appendtest.js │ ├── concat.perf.ts │ ├── concat.suite.js │ ├── default-suite.js │ ├── filter.perf.ts │ ├── foldl-iterator.perf.ts │ ├── foldl.perf.ts │ ├── foldl.suite.js │ ├── index.html │ ├── index.js │ ├── index.ts │ ├── insert.perf.ts │ ├── iterator.perf.ts │ ├── iterator.suite.js │ ├── list.ts │ ├── map.perf.ts │ ├── map.suite.js │ ├── package-lock.json │ ├── package.json │ ├── prepare-benchmarks.sh │ ├── prepend.perf.ts │ ├── prepend.suite.js │ ├── random-access.perf.ts │ ├── random-access.suite.js │ ├── report.ts │ ├── slice.perf.ts │ ├── sort.perf.ts │ ├── tsconfig.json │ ├── update.perf.ts │ ├── view.handlebars │ └── webpack.config.js ├── check.ts ├── commands.ts ├── curried.ts ├── fantasy-land.ts ├── index.ts ├── methods.ts ├── property │ └── index.ts ├── ramda.ts ├── tree-shaking │ ├── README.md │ ├── index.html │ ├── package-lock.json │ ├── package.json │ └── src │ │ ├── baseline.js │ │ ├── curried.js │ │ ├── index1.js │ │ ├── index2.js │ │ └── methods.js ├── tsconfig.json └── utils.ts ├── tsconfig-build.json ├── tsconfig.json └── tslint.json /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/.travis.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/README.md -------------------------------------------------------------------------------- /assets/listopard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/assets/listopard.png -------------------------------------------------------------------------------- /assets/listopard.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/assets/listopard.svg -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/codecov.yml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/package.json -------------------------------------------------------------------------------- /src/curried.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/src/curried.ts -------------------------------------------------------------------------------- /src/devtools.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/src/devtools.ts -------------------------------------------------------------------------------- /src/fantasy-land.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/src/fantasy-land.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/src/methods.ts -------------------------------------------------------------------------------- /src/ramda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/src/ramda.ts -------------------------------------------------------------------------------- /test/bench/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/README.md -------------------------------------------------------------------------------- /test/bench/append.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/append.suite.js -------------------------------------------------------------------------------- /test/bench/appendtest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/appendtest.js -------------------------------------------------------------------------------- /test/bench/concat.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/concat.perf.ts -------------------------------------------------------------------------------- /test/bench/concat.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/concat.suite.js -------------------------------------------------------------------------------- /test/bench/default-suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/default-suite.js -------------------------------------------------------------------------------- /test/bench/filter.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/filter.perf.ts -------------------------------------------------------------------------------- /test/bench/foldl-iterator.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/foldl-iterator.perf.ts -------------------------------------------------------------------------------- /test/bench/foldl.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/foldl.perf.ts -------------------------------------------------------------------------------- /test/bench/foldl.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/foldl.suite.js -------------------------------------------------------------------------------- /test/bench/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/index.html -------------------------------------------------------------------------------- /test/bench/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/index.js -------------------------------------------------------------------------------- /test/bench/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/index.ts -------------------------------------------------------------------------------- /test/bench/insert.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/insert.perf.ts -------------------------------------------------------------------------------- /test/bench/iterator.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/iterator.perf.ts -------------------------------------------------------------------------------- /test/bench/iterator.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/iterator.suite.js -------------------------------------------------------------------------------- /test/bench/list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/list.ts -------------------------------------------------------------------------------- /test/bench/map.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/map.perf.ts -------------------------------------------------------------------------------- /test/bench/map.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/map.suite.js -------------------------------------------------------------------------------- /test/bench/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/package-lock.json -------------------------------------------------------------------------------- /test/bench/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/package.json -------------------------------------------------------------------------------- /test/bench/prepare-benchmarks.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/prepare-benchmarks.sh -------------------------------------------------------------------------------- /test/bench/prepend.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/prepend.perf.ts -------------------------------------------------------------------------------- /test/bench/prepend.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/prepend.suite.js -------------------------------------------------------------------------------- /test/bench/random-access.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/random-access.perf.ts -------------------------------------------------------------------------------- /test/bench/random-access.suite.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/random-access.suite.js -------------------------------------------------------------------------------- /test/bench/report.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/report.ts -------------------------------------------------------------------------------- /test/bench/slice.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/slice.perf.ts -------------------------------------------------------------------------------- /test/bench/sort.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/sort.perf.ts -------------------------------------------------------------------------------- /test/bench/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/tsconfig.json -------------------------------------------------------------------------------- /test/bench/update.perf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/update.perf.ts -------------------------------------------------------------------------------- /test/bench/view.handlebars: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/view.handlebars -------------------------------------------------------------------------------- /test/bench/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/bench/webpack.config.js -------------------------------------------------------------------------------- /test/check.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/check.ts -------------------------------------------------------------------------------- /test/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/commands.ts -------------------------------------------------------------------------------- /test/curried.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/curried.ts -------------------------------------------------------------------------------- /test/fantasy-land.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/fantasy-land.ts -------------------------------------------------------------------------------- /test/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/index.ts -------------------------------------------------------------------------------- /test/methods.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/methods.ts -------------------------------------------------------------------------------- /test/property/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/property/index.ts -------------------------------------------------------------------------------- /test/ramda.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/ramda.ts -------------------------------------------------------------------------------- /test/tree-shaking/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/README.md -------------------------------------------------------------------------------- /test/tree-shaking/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/index.html -------------------------------------------------------------------------------- /test/tree-shaking/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/package-lock.json -------------------------------------------------------------------------------- /test/tree-shaking/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/package.json -------------------------------------------------------------------------------- /test/tree-shaking/src/baseline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/src/baseline.js -------------------------------------------------------------------------------- /test/tree-shaking/src/curried.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/src/curried.js -------------------------------------------------------------------------------- /test/tree-shaking/src/index1.js: -------------------------------------------------------------------------------- 1 | import * as L from "list"; 2 | 3 | console.log(L.List); 4 | -------------------------------------------------------------------------------- /test/tree-shaking/src/index2.js: -------------------------------------------------------------------------------- 1 | import * as L from "list"; 2 | 3 | console.log(L.list, L.append); 4 | -------------------------------------------------------------------------------- /test/tree-shaking/src/methods.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tree-shaking/src/methods.js -------------------------------------------------------------------------------- /test/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/tsconfig.json -------------------------------------------------------------------------------- /test/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/test/utils.ts -------------------------------------------------------------------------------- /tsconfig-build.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/tsconfig-build.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/funkia/list/HEAD/tslint.json --------------------------------------------------------------------------------