├── .babelrc ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── package.json ├── src ├── data │ ├── either.js │ ├── future.js │ ├── index.js │ └── maybe.js ├── functions │ ├── __curry.js │ ├── ap.js │ ├── apply.js │ ├── chain.js │ ├── compose.js │ ├── curry.js │ ├── curryN.js │ ├── either.js │ ├── equals.js │ ├── every.js │ ├── flip.js │ ├── handle_error.js │ ├── identity.js │ ├── index.js │ ├── keys.js │ ├── lift_a2.js │ ├── lift_a3.js │ ├── lift_a4.js │ ├── lift_a5.js │ ├── map.js │ ├── maybe.js │ ├── once.js │ ├── to_pairs.js │ ├── trampoline.js │ ├── type_of.js │ ├── values.js │ └── zip.js └── index.js └── test ├── .eslintrc.json ├── data ├── either.test.js ├── future.test.js └── maybe.test.js └── functions ├── ap.test.js ├── apply.test.js ├── chain.test.js ├── compose.test.js ├── curry.test.js ├── curryN.test.js ├── either.test.js ├── equals.test.js ├── every.test.js ├── flip.test.js ├── handle_error.test.js ├── identity.test.js ├── keys.test.js ├── lift_a2.test.js ├── lift_a3.test.js ├── lift_a4.test.js ├── lift_a5.test.js ├── map.test.js ├── maybe.test.js ├── once.test.js ├── private_curry.test.js ├── to_pairs.test.js ├── trampoline.test.js ├── type_of.test.js ├── values.test.js └── zip.test.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-2"] 3 | } 4 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/package.json -------------------------------------------------------------------------------- /src/data/either.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/data/either.js -------------------------------------------------------------------------------- /src/data/future.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/data/future.js -------------------------------------------------------------------------------- /src/data/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/data/index.js -------------------------------------------------------------------------------- /src/data/maybe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/data/maybe.js -------------------------------------------------------------------------------- /src/functions/__curry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/__curry.js -------------------------------------------------------------------------------- /src/functions/ap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/ap.js -------------------------------------------------------------------------------- /src/functions/apply.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/apply.js -------------------------------------------------------------------------------- /src/functions/chain.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/chain.js -------------------------------------------------------------------------------- /src/functions/compose.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/compose.js -------------------------------------------------------------------------------- /src/functions/curry.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/curry.js -------------------------------------------------------------------------------- /src/functions/curryN.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/curryN.js -------------------------------------------------------------------------------- /src/functions/either.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/either.js -------------------------------------------------------------------------------- /src/functions/equals.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/equals.js -------------------------------------------------------------------------------- /src/functions/every.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/every.js -------------------------------------------------------------------------------- /src/functions/flip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/flip.js -------------------------------------------------------------------------------- /src/functions/handle_error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/handle_error.js -------------------------------------------------------------------------------- /src/functions/identity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/identity.js -------------------------------------------------------------------------------- /src/functions/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/index.js -------------------------------------------------------------------------------- /src/functions/keys.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/keys.js -------------------------------------------------------------------------------- /src/functions/lift_a2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/lift_a2.js -------------------------------------------------------------------------------- /src/functions/lift_a3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/lift_a3.js -------------------------------------------------------------------------------- /src/functions/lift_a4.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/lift_a4.js -------------------------------------------------------------------------------- /src/functions/lift_a5.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/lift_a5.js -------------------------------------------------------------------------------- /src/functions/map.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/map.js -------------------------------------------------------------------------------- /src/functions/maybe.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/maybe.js -------------------------------------------------------------------------------- /src/functions/once.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/once.js -------------------------------------------------------------------------------- /src/functions/to_pairs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/to_pairs.js -------------------------------------------------------------------------------- /src/functions/trampoline.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/trampoline.js -------------------------------------------------------------------------------- /src/functions/type_of.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/type_of.js -------------------------------------------------------------------------------- /src/functions/values.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/values.js -------------------------------------------------------------------------------- /src/functions/zip.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/functions/zip.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/src/index.js -------------------------------------------------------------------------------- /test/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/.eslintrc.json -------------------------------------------------------------------------------- /test/data/either.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/data/either.test.js -------------------------------------------------------------------------------- /test/data/future.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/data/future.test.js -------------------------------------------------------------------------------- /test/data/maybe.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/data/maybe.test.js -------------------------------------------------------------------------------- /test/functions/ap.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/ap.test.js -------------------------------------------------------------------------------- /test/functions/apply.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/apply.test.js -------------------------------------------------------------------------------- /test/functions/chain.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/chain.test.js -------------------------------------------------------------------------------- /test/functions/compose.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/compose.test.js -------------------------------------------------------------------------------- /test/functions/curry.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/curry.test.js -------------------------------------------------------------------------------- /test/functions/curryN.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/curryN.test.js -------------------------------------------------------------------------------- /test/functions/either.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/either.test.js -------------------------------------------------------------------------------- /test/functions/equals.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/equals.test.js -------------------------------------------------------------------------------- /test/functions/every.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/every.test.js -------------------------------------------------------------------------------- /test/functions/flip.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/flip.test.js -------------------------------------------------------------------------------- /test/functions/handle_error.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/handle_error.test.js -------------------------------------------------------------------------------- /test/functions/identity.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/identity.test.js -------------------------------------------------------------------------------- /test/functions/keys.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/keys.test.js -------------------------------------------------------------------------------- /test/functions/lift_a2.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/lift_a2.test.js -------------------------------------------------------------------------------- /test/functions/lift_a3.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/lift_a3.test.js -------------------------------------------------------------------------------- /test/functions/lift_a4.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/lift_a4.test.js -------------------------------------------------------------------------------- /test/functions/lift_a5.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/lift_a5.test.js -------------------------------------------------------------------------------- /test/functions/map.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/map.test.js -------------------------------------------------------------------------------- /test/functions/maybe.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/maybe.test.js -------------------------------------------------------------------------------- /test/functions/once.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/once.test.js -------------------------------------------------------------------------------- /test/functions/private_curry.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/private_curry.test.js -------------------------------------------------------------------------------- /test/functions/to_pairs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/to_pairs.test.js -------------------------------------------------------------------------------- /test/functions/trampoline.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/trampoline.test.js -------------------------------------------------------------------------------- /test/functions/type_of.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/type_of.test.js -------------------------------------------------------------------------------- /test/functions/values.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/values.test.js -------------------------------------------------------------------------------- /test/functions/zip.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matthewglover/functionaljs/HEAD/test/functions/zip.test.js --------------------------------------------------------------------------------