-
Notifications
You must be signed in to change notification settings - Fork 3
/
PureEval.js
48 lines (48 loc) · 2.71 KB
/
PureEval.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { bind } from './src/bind.js';
import { range } from './src/range.js';
import { match } from './src/match.js';
import { _ } from './src/placeholder.js';
import { IO } from './src/abstract/io.js';
import * as L from './src/abstract/list.js';
import { Task } from './src/abstract/task.js';
import { Data } from './src/abstract/data.js';
import { curry, uncurry } from './src/curry.js';
import { IOAsync } from './src/abstract/ioasync.js';
import { Right, Left } from './src/abstract/either.js';
import { Maybe, Nothing, Just } from './src/abstract/maybe.js';
import { Lens, view, set, over } from './src/abstract/optics.js';
import { filter, reject, shield, choose } from './src/filter.js';
import { compose, pipe, call, andThen, tryCatch } from './src/transform.js';
import { MaybeAsync, NothingAsync, JustAsync } from './src/abstract/maybeAsync.js';
import { iterate, map, flatMap, forEach, reduce, fold, scan } from './src/iterate.js';
import { higherPipe, higherComp, coalgebra, stateMachine } from './src/stateMachine.js';
import { rexMatch, rexReplace, rexTest, split, toLower, toUpper, trim, words } from './src/string.js';
import { prop, assoc, modify, dissoc, deepClone, keys, values, makePair, construct, has } from './src/object.js';
import { either, both, not, gt, gte, lt, lte, equal, equalStrict, deepEqual, id, always, when, unless, ifElse, eqType, eqData } from './src/logic.js';
import { odd, even, add, minus, mul, div, divr, mod, rema, power, upper, under, sort, sum, prod, negate, average, median, max, min, inc, dec } from './src/math.js';
import { zipWith, zip, join, slice, take, takeWhile, drop, dropWhile, every, some, concat, head, tail, dropHead, dropTail, includes, reverse, countWith, count, pairList, concatr } from './src/list.js';
export {
bind,
range,
match,
_,
IO,
L,
Task,
Data,
curry, uncurry,
IOAsync,
Right, Left,
Maybe, Nothing, Just,
Lens, view, set, over,
filter, reject, shield, choose,
compose, pipe, call, andThen, tryCatch,
MaybeAsync, NothingAsync, JustAsync,
iterate, map, flatMap, forEach, reduce, fold, scan,
higherPipe, higherComp, coalgebra, stateMachine,
rexMatch, rexReplace, rexTest, split, toLower, toUpper, trim, words,
prop, assoc, modify, dissoc, deepClone, keys, values, makePair, construct, has,
either, both, not, gt, gte, lt, lte, equal, equalStrict, deepEqual, id, always, when, unless, ifElse, eqType, eqData,
odd, even, add, minus, mul, div, divr, mod, rema, power, upper, under, sort, sum, prod, negate, average, median, max, min, inc, dec,
zipWith, zip, join, slice, take, takeWhile, drop, dropWhile, every, some, concat, head, tail, dropHead, dropTail, includes, reverse, countWith, count, pairList, concatr
};