From 21b959856c378fbb4e698abd62e4fe347a6b08a4 Mon Sep 17 00:00:00 2001 From: Josh Bertrand Date: Fri, 13 Nov 2020 14:03:39 -0500 Subject: [PATCH] Generate src and dist --- dist/kefir.ramda.cjs.js | 10 ++++++++-- dist/kefir.ramda.es.js | 9 ++++++--- dist/kefir.ramda.js | 10 ++++++++-- dist/kefir.ramda.min.js | 2 +- package-lock.json | 8 ++++---- src/kefir.ramda.js | 5 ++++- 6 files changed, 31 insertions(+), 13 deletions(-) diff --git a/dist/kefir.ramda.cjs.js b/dist/kefir.ramda.cjs.js index 5dfc48f..743f121 100644 --- a/dist/kefir.ramda.cjs.js +++ b/dist/kefir.ramda.cjs.js @@ -16,6 +16,7 @@ var all = /*#__PURE__*/K.lift(R.all); var allPass = /*#__PURE__*/K.liftRec(R.allPass); var always = /*#__PURE__*/K.liftRec(R.always); var and = /*#__PURE__*/K.lift(R.and); +var andThen = /*#__PURE__*/K.lift(R.andThen); var any = /*#__PURE__*/K.lift(R.any); var anyPass = /*#__PURE__*/K.liftRec(R.anyPass); var ap = /*#__PURE__*/K.lift(R.ap); @@ -171,6 +172,7 @@ var mergeWithKey = /*#__PURE__*/K.lift(R.mergeWithKey); var min = /*#__PURE__*/K.lift(R.min); var minBy = /*#__PURE__*/K.lift(R.minBy); var modulo = /*#__PURE__*/K.lift(R.modulo); +var move = /*#__PURE__*/K.lift(R.move); var multiply = /*#__PURE__*/K.lift(R.multiply); var nAry = /*#__PURE__*/K.liftRec(R.nAry); var negate = /*#__PURE__*/K.lift(R.negate); @@ -194,6 +196,7 @@ var path = /*#__PURE__*/K.lift(R.path); var pathEq = /*#__PURE__*/K.lift(R.pathEq); var pathOr = /*#__PURE__*/K.lift(R.pathOr); var pathSatisfies = /*#__PURE__*/K.lift(R.pathSatisfies); +var paths = /*#__PURE__*/K.lift(R.paths); var pick = /*#__PURE__*/K.lift(R.pick); var pickAll = /*#__PURE__*/K.lift(R.pickAll); var pickBy = /*#__PURE__*/K.lift(R.pickBy); @@ -257,7 +260,6 @@ var takeLastWhile = /*#__PURE__*/K.lift(R.takeLastWhile); var takeWhile = /*#__PURE__*/K.lift(R.takeWhile); var tap = /*#__PURE__*/K.lift(R.tap); var test = /*#__PURE__*/K.lift(R.test); -var then = /*#__PURE__*/K.lift(R.then); var thunkify = /*#__PURE__*/K.liftRec(R.thunkify); var times = /*#__PURE__*/K.lift(R.times); var toLower = /*#__PURE__*/K.lift(R.toLower); @@ -292,6 +294,7 @@ var when = /*#__PURE__*/K.lift(R.when); var where = /*#__PURE__*/K.lift(R.where); var whereEq = /*#__PURE__*/K.lift(R.whereEq); var without = /*#__PURE__*/K.lift(R.without); +var xor = /*#__PURE__*/K.lift(R.xor); var xprod = /*#__PURE__*/K.lift(R.xprod); var zip = /*#__PURE__*/K.lift(R.zip); var zipObj = /*#__PURE__*/K.lift(R.zipObj); @@ -307,6 +310,7 @@ exports.all = all; exports.allPass = allPass; exports.always = always; exports.and = and; +exports.andThen = andThen; exports.any = any; exports.anyPass = anyPass; exports.ap = ap; @@ -438,6 +442,7 @@ exports.mergeWithKey = mergeWithKey; exports.min = min; exports.minBy = minBy; exports.modulo = modulo; +exports.move = move; exports.multiply = multiply; exports.nAry = nAry; exports.negate = negate; @@ -461,6 +466,7 @@ exports.path = path; exports.pathEq = pathEq; exports.pathOr = pathOr; exports.pathSatisfies = pathSatisfies; +exports.paths = paths; exports.pick = pick; exports.pickAll = pickAll; exports.pickBy = pickBy; @@ -512,7 +518,6 @@ exports.takeLastWhile = takeLastWhile; exports.takeWhile = takeWhile; exports.tap = tap; exports.test = test; -exports.then = then; exports.thunkify = thunkify; exports.times = times; exports.toLower = toLower; @@ -547,6 +552,7 @@ exports.when = when; exports.where = where; exports.whereEq = whereEq; exports.without = without; +exports.xor = xor; exports.xprod = xprod; exports.zip = zip; exports.zipObj = zipObj; diff --git a/dist/kefir.ramda.es.js b/dist/kefir.ramda.es.js index eeacb72..321b754 100644 --- a/dist/kefir.ramda.es.js +++ b/dist/kefir.ramda.es.js @@ -1,4 +1,4 @@ -import { F, T, add, addIndex, adjust, all, allPass, always, and, any, anyPass, ap, aperture, append, apply, applySpec, applyTo, ascend, assoc, assocPath, binary, bind, both, call, chain, clamp, clone, comparator, complement, compose, composeK, composeP, composeWith, concat, cond, construct, constructN, contains, converge, countBy, curry, curryN, dec, defaultTo, descend, difference, differenceWith, dissoc, dissocPath, divide, drop, dropLast, dropLastWhile, dropRepeats, dropRepeatsWith, dropWhile, either, empty, endsWith, eqBy, eqProps, equals, evolve, filter, find, findIndex, findLast, findLastIndex, flatten, flip, forEach, forEachObjIndexed, fromPairs, groupBy, groupWith, gt, gte, has, hasIn, hasPath, head, identical, identity, ifElse, inc, includes, indexBy, indexOf, init, innerJoin, insert, insertAll, intersection, intersperse, into, invert, invertObj, invoker, is, isEmpty, isNil, join, juxt, keys, keysIn, last, lastIndexOf, length, lens, lensIndex, lensPath, lensProp, lift, liftN, lt, lte, map, mapAccum, mapAccumRight, mapObjIndexed, match, mathMod, max, maxBy, mean, median, memoizeWith, merge, mergeAll, mergeDeepLeft, mergeDeepRight, mergeDeepWith, mergeDeepWithKey, mergeLeft, mergeRight, mergeWith, mergeWithKey, min, minBy, modulo, multiply, nAry, negate, none, not, nth, nthArg, o, objOf, of, omit, once, or, otherwise, over, pair, partial, partialRight, partition, path, pathEq, pathOr, pathSatisfies, pick, pickAll, pickBy, pipe, pipeK, pipeP, pipeWith, pluck, prepend, product, project, prop, propEq, propIs, propOr, propSatisfies, props, range, reduce, reduceBy, reduceRight, reduceWhile, reduced, reject, remove, repeat, replace, reverse, scan, sequence, set, slice, sort, sortBy, sortWith, split, splitAt, splitEvery, splitWhen, startsWith, subtract, sum, symmetricDifference, symmetricDifferenceWith, tail, take, takeLast, takeLastWhile, takeWhile, tap, test, then, thunkify, times, toLower, toPairs, toPairsIn, toString, toUpper, transduce, transpose, traverse, trim, tryCatch, type, unapply, unary, uncurryN, unfold, union, unionWith, uniq, uniqBy, uniqWith, unless, unnest, until, update, useWith, values, valuesIn, view, when, where, whereEq, without, xprod, zip, zipObj, zipWith } from 'ramda'; +import { F, T, add, addIndex, adjust, all, allPass, always, and, andThen, any, anyPass, ap, aperture, append, apply, applySpec, applyTo, ascend, assoc, assocPath, binary, bind, both, call, chain, clamp, clone, comparator, complement, compose, composeK, composeP, composeWith, concat, cond, construct, constructN, contains, converge, countBy, curry, curryN, dec, defaultTo, descend, difference, differenceWith, dissoc, dissocPath, divide, drop, dropLast, dropLastWhile, dropRepeats, dropRepeatsWith, dropWhile, either, empty, endsWith, eqBy, eqProps, equals, evolve, filter, find, findIndex, findLast, findLastIndex, flatten, flip, forEach, forEachObjIndexed, fromPairs, groupBy, groupWith, gt, gte, has, hasIn, hasPath, head, identical, identity, ifElse, inc, includes, indexBy, indexOf, init, innerJoin, insert, insertAll, intersection, intersperse, into, invert, invertObj, invoker, is, isEmpty, isNil, join, juxt, keys, keysIn, last, lastIndexOf, length, lens, lensIndex, lensPath, lensProp, lift, liftN, lt, lte, map, mapAccum, mapAccumRight, mapObjIndexed, match, mathMod, max, maxBy, mean, median, memoizeWith, merge, mergeAll, mergeDeepLeft, mergeDeepRight, mergeDeepWith, mergeDeepWithKey, mergeLeft, mergeRight, mergeWith, mergeWithKey, min, minBy, modulo, move, multiply, nAry, negate, none, not, nth, nthArg, o, objOf, of, omit, once, or, otherwise, over, pair, partial, partialRight, partition, path, pathEq, pathOr, pathSatisfies, paths, pick, pickAll, pickBy, pipe, pipeK, pipeP, pipeWith, pluck, prepend, product, project, prop, propEq, propIs, propOr, propSatisfies, props, range, reduce, reduceBy, reduceRight, reduceWhile, reduced, reject, remove, repeat, replace, reverse, scan, sequence, set, slice, sort, sortBy, sortWith, split, splitAt, splitEvery, splitWhen, startsWith, subtract, sum, symmetricDifference, symmetricDifferenceWith, tail, take, takeLast, takeLastWhile, takeWhile, tap, test, thunkify, times, toLower, toPairs, toPairsIn, toString, toUpper, transduce, transpose, traverse, trim, tryCatch, type, unapply, unary, uncurryN, unfold, union, unionWith, uniq, uniqBy, uniqWith, unless, unnest, until, update, useWith, values, valuesIn, view, when, where, whereEq, without, xor, xprod, zip, zipObj, zipWith } from 'ramda'; export { __ } from 'ramda'; import { lift as lift$1, liftRec } from 'karet.lift'; @@ -13,6 +13,7 @@ var all$1 = /*#__PURE__*/lift$1(all); var allPass$1 = /*#__PURE__*/liftRec(allPass); var always$1 = /*#__PURE__*/liftRec(always); var and$1 = /*#__PURE__*/lift$1(and); +var andThen$1 = /*#__PURE__*/lift$1(andThen); var any$1 = /*#__PURE__*/lift$1(any); var anyPass$1 = /*#__PURE__*/liftRec(anyPass); var ap$1 = /*#__PURE__*/lift$1(ap); @@ -168,6 +169,7 @@ var mergeWithKey$1 = /*#__PURE__*/lift$1(mergeWithKey); var min$1 = /*#__PURE__*/lift$1(min); var minBy$1 = /*#__PURE__*/lift$1(minBy); var modulo$1 = /*#__PURE__*/lift$1(modulo); +var move$1 = /*#__PURE__*/lift$1(move); var multiply$1 = /*#__PURE__*/lift$1(multiply); var nAry$1 = /*#__PURE__*/liftRec(nAry); var negate$1 = /*#__PURE__*/lift$1(negate); @@ -191,6 +193,7 @@ var path$1 = /*#__PURE__*/lift$1(path); var pathEq$1 = /*#__PURE__*/lift$1(pathEq); var pathOr$1 = /*#__PURE__*/lift$1(pathOr); var pathSatisfies$1 = /*#__PURE__*/lift$1(pathSatisfies); +var paths$1 = /*#__PURE__*/lift$1(paths); var pick$1 = /*#__PURE__*/lift$1(pick); var pickAll$1 = /*#__PURE__*/lift$1(pickAll); var pickBy$1 = /*#__PURE__*/lift$1(pickBy); @@ -254,7 +257,6 @@ var takeLastWhile$1 = /*#__PURE__*/lift$1(takeLastWhile); var takeWhile$1 = /*#__PURE__*/lift$1(takeWhile); var tap$1 = /*#__PURE__*/lift$1(tap); var test$1 = /*#__PURE__*/lift$1(test); -var then$1 = /*#__PURE__*/lift$1(then); var thunkify$1 = /*#__PURE__*/liftRec(thunkify); var times$1 = /*#__PURE__*/lift$1(times); var toLower$1 = /*#__PURE__*/lift$1(toLower); @@ -289,9 +291,10 @@ var when$1 = /*#__PURE__*/lift$1(when); var where$1 = /*#__PURE__*/lift$1(where); var whereEq$1 = /*#__PURE__*/lift$1(whereEq); var without$1 = /*#__PURE__*/lift$1(without); +var xor$1 = /*#__PURE__*/lift$1(xor); var xprod$1 = /*#__PURE__*/lift$1(xprod); var zip$1 = /*#__PURE__*/lift$1(zip); var zipObj$1 = /*#__PURE__*/lift$1(zipObj); var zipWith$1 = /*#__PURE__*/lift$1(zipWith); -export { F$1 as F, T$1 as T, add$1 as add, addIndex$1 as addIndex, adjust$1 as adjust, all$1 as all, allPass$1 as allPass, always$1 as always, and$1 as and, any$1 as any, anyPass$1 as anyPass, ap$1 as ap, aperture$1 as aperture, append$1 as append, apply$1 as apply, applySpec$1 as applySpec, applyTo$1 as applyTo, ascend$1 as ascend, assoc$1 as assoc, assocPath$1 as assocPath, binary$1 as binary, bind$1 as bind, both$1 as both, call$1 as call, chain$1 as chain, clamp$1 as clamp, clone$1 as clone, comparator$1 as comparator, complement$1 as complement, compose$1 as compose, composeK$1 as composeK, composeP$1 as composeP, composeWith$1 as composeWith, concat$1 as concat, cond$1 as cond, construct$1 as construct, constructN$1 as constructN, contains$1 as contains, converge$1 as converge, countBy$1 as countBy, curry$1 as curry, curryN$1 as curryN, dec$1 as dec, defaultTo$1 as defaultTo, descend$1 as descend, difference$1 as difference, differenceWith$1 as differenceWith, dissoc$1 as dissoc, dissocPath$1 as dissocPath, divide$1 as divide, drop$1 as drop, dropLast$1 as dropLast, dropLastWhile$1 as dropLastWhile, dropRepeats$1 as dropRepeats, dropRepeatsWith$1 as dropRepeatsWith, dropWhile$1 as dropWhile, either$1 as either, empty$1 as empty, endsWith$1 as endsWith, eqBy$1 as eqBy, eqProps$1 as eqProps, equals$1 as equals, evolve$1 as evolve, filter$1 as filter, find$1 as find, findIndex$1 as findIndex, findLast$1 as findLast, findLastIndex$1 as findLastIndex, flatten$1 as flatten, flip$1 as flip, forEach$1 as forEach, forEachObjIndexed$1 as forEachObjIndexed, fromPairs$1 as fromPairs, groupBy$1 as groupBy, groupWith$1 as groupWith, gt$1 as gt, gte$1 as gte, has$1 as has, hasIn$1 as hasIn, hasPath$1 as hasPath, head$1 as head, identical$1 as identical, identity$1 as identity, ifElse$1 as ifElse, inc$1 as inc, includes$1 as includes, indexBy$1 as indexBy, indexOf$1 as indexOf, init$1 as init, innerJoin$1 as innerJoin, insert$1 as insert, insertAll$1 as insertAll, intersection$1 as intersection, intersperse$1 as intersperse, into$1 as into, invert$1 as invert, invertObj$1 as invertObj, invoker$1 as invoker, is$1 as is, isEmpty$1 as isEmpty, isNil$1 as isNil, join$1 as join, juxt$1 as juxt, keys$1 as keys, keysIn$1 as keysIn, last$1 as last, lastIndexOf$1 as lastIndexOf, length$1 as length, lens$1 as lens, lensIndex$1 as lensIndex, lensPath$1 as lensPath, lensProp$1 as lensProp, lift$2 as lift, liftN$1 as liftN, lt$1 as lt, lte$1 as lte, map$1 as map, mapAccum$1 as mapAccum, mapAccumRight$1 as mapAccumRight, mapObjIndexed$1 as mapObjIndexed, match$1 as match, mathMod$1 as mathMod, max$1 as max, maxBy$1 as maxBy, mean$1 as mean, median$1 as median, memoizeWith$1 as memoizeWith, merge$1 as merge, mergeAll$1 as mergeAll, mergeDeepLeft$1 as mergeDeepLeft, mergeDeepRight$1 as mergeDeepRight, mergeDeepWith$1 as mergeDeepWith, mergeDeepWithKey$1 as mergeDeepWithKey, mergeLeft$1 as mergeLeft, mergeRight$1 as mergeRight, mergeWith$1 as mergeWith, mergeWithKey$1 as mergeWithKey, min$1 as min, minBy$1 as minBy, modulo$1 as modulo, multiply$1 as multiply, nAry$1 as nAry, negate$1 as negate, none$1 as none, not$1 as not, nth$1 as nth, nthArg$1 as nthArg, o$1 as o, objOf$1 as objOf, of$1 as of, omit$1 as omit, once$1 as once, or$1 as or, otherwise$1 as otherwise, over$1 as over, pair$1 as pair, partial$1 as partial, partialRight$1 as partialRight, partition$1 as partition, path$1 as path, pathEq$1 as pathEq, pathOr$1 as pathOr, pathSatisfies$1 as pathSatisfies, pick$1 as pick, pickAll$1 as pickAll, pickBy$1 as pickBy, pipe$1 as pipe, pipeK$1 as pipeK, pipeP$1 as pipeP, pipeWith$1 as pipeWith, pluck$1 as pluck, prepend$1 as prepend, product$1 as product, project$1 as project, prop$1 as prop, propEq$1 as propEq, propIs$1 as propIs, propOr$1 as propOr, propSatisfies$1 as propSatisfies, props$1 as props, range$1 as range, reduce$1 as reduce, reduceBy$1 as reduceBy, reduceRight$1 as reduceRight, reduceWhile$1 as reduceWhile, reduced$1 as reduced, reject$1 as reject, remove$1 as remove, repeat$1 as repeat, replace$1 as replace, reverse$1 as reverse, scan$1 as scan, sequence$1 as sequence, set$1 as set, slice$1 as slice, sort$1 as sort, sortBy$1 as sortBy, sortWith$1 as sortWith, split$1 as split, splitAt$1 as splitAt, splitEvery$1 as splitEvery, splitWhen$1 as splitWhen, startsWith$1 as startsWith, subtract$1 as subtract, sum$1 as sum, symmetricDifference$1 as symmetricDifference, symmetricDifferenceWith$1 as symmetricDifferenceWith, tail$1 as tail, take$1 as take, takeLast$1 as takeLast, takeLastWhile$1 as takeLastWhile, takeWhile$1 as takeWhile, tap$1 as tap, test$1 as test, then$1 as then, thunkify$1 as thunkify, times$1 as times, toLower$1 as toLower, toPairs$1 as toPairs, toPairsIn$1 as toPairsIn, toString$1 as toString, toUpper$1 as toUpper, transduce$1 as transduce, transpose$1 as transpose, traverse$1 as traverse, trim$1 as trim, tryCatch$1 as tryCatch, type$1 as type, unapply$1 as unapply, unary$1 as unary, uncurryN$1 as uncurryN, unfold$1 as unfold, union$1 as union, unionWith$1 as unionWith, uniq$1 as uniq, uniqBy$1 as uniqBy, uniqWith$1 as uniqWith, unless$1 as unless, unnest$1 as unnest, until$1 as until, update$1 as update, useWith$1 as useWith, values$1 as values, valuesIn$1 as valuesIn, view$1 as view, when$1 as when, where$1 as where, whereEq$1 as whereEq, without$1 as without, xprod$1 as xprod, zip$1 as zip, zipObj$1 as zipObj, zipWith$1 as zipWith }; +export { F$1 as F, T$1 as T, add$1 as add, addIndex$1 as addIndex, adjust$1 as adjust, all$1 as all, allPass$1 as allPass, always$1 as always, and$1 as and, andThen$1 as andThen, any$1 as any, anyPass$1 as anyPass, ap$1 as ap, aperture$1 as aperture, append$1 as append, apply$1 as apply, applySpec$1 as applySpec, applyTo$1 as applyTo, ascend$1 as ascend, assoc$1 as assoc, assocPath$1 as assocPath, binary$1 as binary, bind$1 as bind, both$1 as both, call$1 as call, chain$1 as chain, clamp$1 as clamp, clone$1 as clone, comparator$1 as comparator, complement$1 as complement, compose$1 as compose, composeK$1 as composeK, composeP$1 as composeP, composeWith$1 as composeWith, concat$1 as concat, cond$1 as cond, construct$1 as construct, constructN$1 as constructN, contains$1 as contains, converge$1 as converge, countBy$1 as countBy, curry$1 as curry, curryN$1 as curryN, dec$1 as dec, defaultTo$1 as defaultTo, descend$1 as descend, difference$1 as difference, differenceWith$1 as differenceWith, dissoc$1 as dissoc, dissocPath$1 as dissocPath, divide$1 as divide, drop$1 as drop, dropLast$1 as dropLast, dropLastWhile$1 as dropLastWhile, dropRepeats$1 as dropRepeats, dropRepeatsWith$1 as dropRepeatsWith, dropWhile$1 as dropWhile, either$1 as either, empty$1 as empty, endsWith$1 as endsWith, eqBy$1 as eqBy, eqProps$1 as eqProps, equals$1 as equals, evolve$1 as evolve, filter$1 as filter, find$1 as find, findIndex$1 as findIndex, findLast$1 as findLast, findLastIndex$1 as findLastIndex, flatten$1 as flatten, flip$1 as flip, forEach$1 as forEach, forEachObjIndexed$1 as forEachObjIndexed, fromPairs$1 as fromPairs, groupBy$1 as groupBy, groupWith$1 as groupWith, gt$1 as gt, gte$1 as gte, has$1 as has, hasIn$1 as hasIn, hasPath$1 as hasPath, head$1 as head, identical$1 as identical, identity$1 as identity, ifElse$1 as ifElse, inc$1 as inc, includes$1 as includes, indexBy$1 as indexBy, indexOf$1 as indexOf, init$1 as init, innerJoin$1 as innerJoin, insert$1 as insert, insertAll$1 as insertAll, intersection$1 as intersection, intersperse$1 as intersperse, into$1 as into, invert$1 as invert, invertObj$1 as invertObj, invoker$1 as invoker, is$1 as is, isEmpty$1 as isEmpty, isNil$1 as isNil, join$1 as join, juxt$1 as juxt, keys$1 as keys, keysIn$1 as keysIn, last$1 as last, lastIndexOf$1 as lastIndexOf, length$1 as length, lens$1 as lens, lensIndex$1 as lensIndex, lensPath$1 as lensPath, lensProp$1 as lensProp, lift$2 as lift, liftN$1 as liftN, lt$1 as lt, lte$1 as lte, map$1 as map, mapAccum$1 as mapAccum, mapAccumRight$1 as mapAccumRight, mapObjIndexed$1 as mapObjIndexed, match$1 as match, mathMod$1 as mathMod, max$1 as max, maxBy$1 as maxBy, mean$1 as mean, median$1 as median, memoizeWith$1 as memoizeWith, merge$1 as merge, mergeAll$1 as mergeAll, mergeDeepLeft$1 as mergeDeepLeft, mergeDeepRight$1 as mergeDeepRight, mergeDeepWith$1 as mergeDeepWith, mergeDeepWithKey$1 as mergeDeepWithKey, mergeLeft$1 as mergeLeft, mergeRight$1 as mergeRight, mergeWith$1 as mergeWith, mergeWithKey$1 as mergeWithKey, min$1 as min, minBy$1 as minBy, modulo$1 as modulo, move$1 as move, multiply$1 as multiply, nAry$1 as nAry, negate$1 as negate, none$1 as none, not$1 as not, nth$1 as nth, nthArg$1 as nthArg, o$1 as o, objOf$1 as objOf, of$1 as of, omit$1 as omit, once$1 as once, or$1 as or, otherwise$1 as otherwise, over$1 as over, pair$1 as pair, partial$1 as partial, partialRight$1 as partialRight, partition$1 as partition, path$1 as path, pathEq$1 as pathEq, pathOr$1 as pathOr, pathSatisfies$1 as pathSatisfies, paths$1 as paths, pick$1 as pick, pickAll$1 as pickAll, pickBy$1 as pickBy, pipe$1 as pipe, pipeK$1 as pipeK, pipeP$1 as pipeP, pipeWith$1 as pipeWith, pluck$1 as pluck, prepend$1 as prepend, product$1 as product, project$1 as project, prop$1 as prop, propEq$1 as propEq, propIs$1 as propIs, propOr$1 as propOr, propSatisfies$1 as propSatisfies, props$1 as props, range$1 as range, reduce$1 as reduce, reduceBy$1 as reduceBy, reduceRight$1 as reduceRight, reduceWhile$1 as reduceWhile, reduced$1 as reduced, reject$1 as reject, remove$1 as remove, repeat$1 as repeat, replace$1 as replace, reverse$1 as reverse, scan$1 as scan, sequence$1 as sequence, set$1 as set, slice$1 as slice, sort$1 as sort, sortBy$1 as sortBy, sortWith$1 as sortWith, split$1 as split, splitAt$1 as splitAt, splitEvery$1 as splitEvery, splitWhen$1 as splitWhen, startsWith$1 as startsWith, subtract$1 as subtract, sum$1 as sum, symmetricDifference$1 as symmetricDifference, symmetricDifferenceWith$1 as symmetricDifferenceWith, tail$1 as tail, take$1 as take, takeLast$1 as takeLast, takeLastWhile$1 as takeLastWhile, takeWhile$1 as takeWhile, tap$1 as tap, test$1 as test, thunkify$1 as thunkify, times$1 as times, toLower$1 as toLower, toPairs$1 as toPairs, toPairsIn$1 as toPairsIn, toString$1 as toString, toUpper$1 as toUpper, transduce$1 as transduce, transpose$1 as transpose, traverse$1 as traverse, trim$1 as trim, tryCatch$1 as tryCatch, type$1 as type, unapply$1 as unapply, unary$1 as unary, uncurryN$1 as uncurryN, unfold$1 as unfold, union$1 as union, unionWith$1 as unionWith, uniq$1 as uniq, uniqBy$1 as uniqBy, uniqWith$1 as uniqWith, unless$1 as unless, unnest$1 as unnest, until$1 as until, update$1 as update, useWith$1 as useWith, values$1 as values, valuesIn$1 as valuesIn, view$1 as view, when$1 as when, where$1 as where, whereEq$1 as whereEq, without$1 as without, xor$1 as xor, xprod$1 as xprod, zip$1 as zip, zipObj$1 as zipObj, zipWith$1 as zipWith }; diff --git a/dist/kefir.ramda.js b/dist/kefir.ramda.js index fa7f9e9..bfdb232 100644 --- a/dist/kefir.ramda.js +++ b/dist/kefir.ramda.js @@ -15,6 +15,7 @@ var allPass = /*#__PURE__*/K.liftRec(R.allPass); var always = /*#__PURE__*/K.liftRec(R.always); var and = /*#__PURE__*/K.lift(R.and); + var andThen = /*#__PURE__*/K.lift(R.andThen); var any = /*#__PURE__*/K.lift(R.any); var anyPass = /*#__PURE__*/K.liftRec(R.anyPass); var ap = /*#__PURE__*/K.lift(R.ap); @@ -170,6 +171,7 @@ var min = /*#__PURE__*/K.lift(R.min); var minBy = /*#__PURE__*/K.lift(R.minBy); var modulo = /*#__PURE__*/K.lift(R.modulo); + var move = /*#__PURE__*/K.lift(R.move); var multiply = /*#__PURE__*/K.lift(R.multiply); var nAry = /*#__PURE__*/K.liftRec(R.nAry); var negate = /*#__PURE__*/K.lift(R.negate); @@ -193,6 +195,7 @@ var pathEq = /*#__PURE__*/K.lift(R.pathEq); var pathOr = /*#__PURE__*/K.lift(R.pathOr); var pathSatisfies = /*#__PURE__*/K.lift(R.pathSatisfies); + var paths = /*#__PURE__*/K.lift(R.paths); var pick = /*#__PURE__*/K.lift(R.pick); var pickAll = /*#__PURE__*/K.lift(R.pickAll); var pickBy = /*#__PURE__*/K.lift(R.pickBy); @@ -256,7 +259,6 @@ var takeWhile = /*#__PURE__*/K.lift(R.takeWhile); var tap = /*#__PURE__*/K.lift(R.tap); var test = /*#__PURE__*/K.lift(R.test); - var then = /*#__PURE__*/K.lift(R.then); var thunkify = /*#__PURE__*/K.liftRec(R.thunkify); var times = /*#__PURE__*/K.lift(R.times); var toLower = /*#__PURE__*/K.lift(R.toLower); @@ -291,6 +293,7 @@ var where = /*#__PURE__*/K.lift(R.where); var whereEq = /*#__PURE__*/K.lift(R.whereEq); var without = /*#__PURE__*/K.lift(R.without); + var xor = /*#__PURE__*/K.lift(R.xor); var xprod = /*#__PURE__*/K.lift(R.xprod); var zip = /*#__PURE__*/K.lift(R.zip); var zipObj = /*#__PURE__*/K.lift(R.zipObj); @@ -306,6 +309,7 @@ exports.allPass = allPass; exports.always = always; exports.and = and; + exports.andThen = andThen; exports.any = any; exports.anyPass = anyPass; exports.ap = ap; @@ -437,6 +441,7 @@ exports.min = min; exports.minBy = minBy; exports.modulo = modulo; + exports.move = move; exports.multiply = multiply; exports.nAry = nAry; exports.negate = negate; @@ -460,6 +465,7 @@ exports.pathEq = pathEq; exports.pathOr = pathOr; exports.pathSatisfies = pathSatisfies; + exports.paths = paths; exports.pick = pick; exports.pickAll = pickAll; exports.pickBy = pickBy; @@ -511,7 +517,6 @@ exports.takeWhile = takeWhile; exports.tap = tap; exports.test = test; - exports.then = then; exports.thunkify = thunkify; exports.times = times; exports.toLower = toLower; @@ -546,6 +551,7 @@ exports.where = where; exports.whereEq = whereEq; exports.without = without; + exports.xor = xor; exports.xprod = xprod; exports.zip = zip; exports.zipObj = zipObj; diff --git a/dist/kefir.ramda.min.js b/dist/kefir.ramda.min.js index c528641..9e8b5a2 100644 --- a/dist/kefir.ramda.min.js +++ b/dist/kefir.ramda.min.js @@ -1 +1 @@ -!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("ramda"),require("karet.lift")):"function"==typeof define&&define.amd?define(["exports","ramda","karet.lift"],i):i((t.Kefir=t.Kefir||{},t.Kefir.ramda={}),t.R,t.karet.lift)}(this,function(t,i,e){"use strict";var l=e.lift(i.F),f=e.lift(i.T),r=e.lift(i.add),n=e.liftRec(i.addIndex),a=e.lift(i.adjust),p=e.lift(i.all),s=e.liftRec(i.allPass),c=e.liftRec(i.always),o=e.lift(i.and),d=e.lift(i.any),h=e.liftRec(i.anyPass),u=e.lift(i.ap),m=e.lift(i.aperture),y=e.lift(i.append),R=e.lift(i.apply),g=e.liftRec(i.applySpec),W=e.lift(i.applyTo),v=e.lift(i.ascend),x=e.lift(i.assoc),k=e.lift(i.assocPath),P=e.liftRec(i.binary),I=e.liftRec(i.bind),j=e.liftRec(i.both),q=e.liftRec(i.call),b=e.liftRec(i.chain),B=e.lift(i.clamp),O=e.lift(i.clone),L=e.liftRec(i.comparator),w=e.liftRec(i.complement),A=e.liftRec(i.compose),E=e.liftRec(i.composeK),D=e.liftRec(i.composeP),K=e.liftRec(i.composeWith),N=e.lift(i.concat),z=e.liftRec(i.cond),S=e.liftRec(i.construct),T=e.liftRec(i.constructN),_=e.lift(i.contains),M=e.liftRec(i.converge),C=e.lift(i.countBy),F=e.liftRec(i.curry),J=e.liftRec(i.curryN),U=e.lift(i.dec),G=e.lift(i.defaultTo),H=e.lift(i.descend),Q=e.lift(i.difference),V=e.lift(i.differenceWith),X=e.lift(i.dissoc),Y=e.lift(i.dissocPath),Z=e.lift(i.divide),$=e.lift(i.drop),tt=e.lift(i.dropLast),it=e.lift(i.dropLastWhile),et=e.lift(i.dropRepeats),lt=e.lift(i.dropRepeatsWith),ft=e.lift(i.dropWhile),rt=e.liftRec(i.either),nt=e.lift(i.empty),at=e.lift(i.endsWith),pt=e.lift(i.eqBy),st=e.lift(i.eqProps),ct=e.lift(i.equals),ot=e.lift(i.evolve),dt=e.lift(i.filter),ht=e.lift(i.find),ut=e.lift(i.findIndex),mt=e.lift(i.findLast),yt=e.lift(i.findLastIndex),Rt=e.lift(i.flatten),gt=e.liftRec(i.flip),Wt=e.lift(i.forEach),vt=e.lift(i.forEachObjIndexed),xt=e.lift(i.fromPairs),kt=e.lift(i.groupBy),Pt=e.lift(i.groupWith),It=e.lift(i.gt),jt=e.lift(i.gte),qt=e.lift(i.has),bt=e.lift(i.hasIn),Bt=e.lift(i.hasPath),Ot=e.lift(i.head),Lt=e.lift(i.identical),wt=e.lift(i.identity),At=e.liftRec(i.ifElse),Et=e.lift(i.inc),Dt=e.lift(i.includes),Kt=e.lift(i.indexBy),Nt=e.lift(i.indexOf),zt=e.lift(i.init),St=e.lift(i.innerJoin),Tt=e.lift(i.insert),_t=e.lift(i.insertAll),Mt=e.lift(i.intersection),Ct=e.lift(i.intersperse),Ft=e.lift(i.into),Jt=e.lift(i.invert),Ut=e.lift(i.invertObj),Gt=e.liftRec(i.invoker),Ht=e.lift(i.is),Qt=e.lift(i.isEmpty),Vt=e.lift(i.isNil),Xt=e.lift(i.join),Yt=e.liftRec(i.juxt),Zt=e.lift(i.keys),$t=e.lift(i.keysIn),ti=e.lift(i.last),ii=e.lift(i.lastIndexOf),ei=e.lift(i.length),li=e.lift(i.lens),fi=e.lift(i.lensIndex),ri=e.lift(i.lensPath),ni=e.lift(i.lensProp),ai=e.liftRec(i.lift),pi=e.liftRec(i.liftN),si=e.lift(i.lt),ci=e.lift(i.lte),oi=e.lift(i.map),di=e.lift(i.mapAccum),hi=e.lift(i.mapAccumRight),ui=e.lift(i.mapObjIndexed),mi=e.lift(i.match),yi=e.lift(i.mathMod),Ri=e.lift(i.max),gi=e.lift(i.maxBy),Wi=e.lift(i.mean),vi=e.lift(i.median),xi=e.liftRec(i.memoizeWith),ki=e.lift(i.merge),Pi=e.lift(i.mergeAll),Ii=e.lift(i.mergeDeepLeft),ji=e.lift(i.mergeDeepRight),qi=e.lift(i.mergeDeepWith),bi=e.lift(i.mergeDeepWithKey),Bi=e.lift(i.mergeLeft),Oi=e.lift(i.mergeRight),Li=e.lift(i.mergeWith),wi=e.lift(i.mergeWithKey),Ai=e.lift(i.min),Ei=e.lift(i.minBy),Di=e.lift(i.modulo),Ki=e.lift(i.multiply),Ni=e.liftRec(i.nAry),zi=e.lift(i.negate),Si=e.lift(i.none),Ti=e.lift(i.not),_i=e.lift(i.nth),Mi=e.liftRec(i.nthArg),Ci=e.liftRec(i.o),Fi=e.lift(i.objOf),Ji=e.lift(i.of),Ui=e.lift(i.omit),Gi=e.liftRec(i.once),Hi=e.lift(i.or),Qi=e.lift(i.otherwise),Vi=e.lift(i.over),Xi=e.lift(i.pair),Yi=e.liftRec(i.partial),Zi=e.liftRec(i.partialRight),$i=e.lift(i.partition),te=e.lift(i.path),ie=e.lift(i.pathEq),ee=e.lift(i.pathOr),le=e.lift(i.pathSatisfies),fe=e.lift(i.pick),re=e.lift(i.pickAll),ne=e.lift(i.pickBy),ae=e.liftRec(i.pipe),pe=e.liftRec(i.pipeK),se=e.liftRec(i.pipeP),ce=e.liftRec(i.pipeWith),oe=e.lift(i.pluck),de=e.lift(i.prepend),he=e.lift(i.product),ue=e.lift(i.project),me=e.lift(i.prop),ye=e.lift(i.propEq),Re=e.lift(i.propIs),ge=e.lift(i.propOr),We=e.lift(i.propSatisfies),ve=e.lift(i.props),xe=e.lift(i.range),ke=e.lift(i.reduce),Pe=e.liftRec(i.reduceBy),Ie=e.lift(i.reduceRight),je=e.liftRec(i.reduceWhile),qe=e.lift(i.reduced),be=e.lift(i.reject),Be=e.lift(i.remove),Oe=e.lift(i.repeat),Le=e.lift(i.replace),we=e.lift(i.reverse),Ae=e.lift(i.scan),Ee=e.lift(i.sequence),De=e.lift(i.set),Ke=e.lift(i.slice),Ne=e.lift(i.sort),ze=e.lift(i.sortBy),Se=e.lift(i.sortWith),Te=e.lift(i.split),_e=e.lift(i.splitAt),Me=e.lift(i.splitEvery),Ce=e.lift(i.splitWhen),Fe=e.lift(i.startsWith),Je=e.lift(i.subtract),Ue=e.lift(i.sum),Ge=e.lift(i.symmetricDifference),He=e.lift(i.symmetricDifferenceWith),Qe=e.lift(i.tail),Ve=e.lift(i.take),Xe=e.lift(i.takeLast),Ye=e.lift(i.takeLastWhile),Ze=e.lift(i.takeWhile),$e=e.lift(i.tap),tl=e.lift(i.test),il=e.lift(i.then),el=e.liftRec(i.thunkify),ll=e.lift(i.times),fl=e.lift(i.toLower),rl=e.lift(i.toPairs),nl=e.lift(i.toPairsIn),al=e.lift(i.toString),pl=e.lift(i.toUpper),sl=e.lift(i.transduce),cl=e.lift(i.transpose),ol=e.lift(i.traverse),dl=e.lift(i.trim),hl=e.liftRec(i.tryCatch),ul=e.lift(i.type),ml=e.liftRec(i.unapply),yl=e.liftRec(i.unary),Rl=e.liftRec(i.uncurryN),gl=e.lift(i.unfold),Wl=e.lift(i.union),vl=e.lift(i.unionWith),xl=e.lift(i.uniq),kl=e.lift(i.uniqBy),Pl=e.lift(i.uniqWith),Il=e.lift(i.unless),jl=e.lift(i.unnest),ql=e.lift(i.until),bl=e.lift(i.update),Bl=e.liftRec(i.useWith),Ol=e.lift(i.values),Ll=e.lift(i.valuesIn),wl=e.lift(i.view),Al=e.lift(i.when),El=e.lift(i.where),Dl=e.lift(i.whereEq),Kl=e.lift(i.without),Nl=e.lift(i.xprod),zl=e.lift(i.zip),Sl=e.lift(i.zipObj),Tl=e.lift(i.zipWith);t.__=i.__,t.F=l,t.T=f,t.add=r,t.addIndex=n,t.adjust=a,t.all=p,t.allPass=s,t.always=c,t.and=o,t.any=d,t.anyPass=h,t.ap=u,t.aperture=m,t.append=y,t.apply=R,t.applySpec=g,t.applyTo=W,t.ascend=v,t.assoc=x,t.assocPath=k,t.binary=P,t.bind=I,t.both=j,t.call=q,t.chain=b,t.clamp=B,t.clone=O,t.comparator=L,t.complement=w,t.compose=A,t.composeK=E,t.composeP=D,t.composeWith=K,t.concat=N,t.cond=z,t.construct=S,t.constructN=T,t.contains=_,t.converge=M,t.countBy=C,t.curry=F,t.curryN=J,t.dec=U,t.defaultTo=G,t.descend=H,t.difference=Q,t.differenceWith=V,t.dissoc=X,t.dissocPath=Y,t.divide=Z,t.drop=$,t.dropLast=tt,t.dropLastWhile=it,t.dropRepeats=et,t.dropRepeatsWith=lt,t.dropWhile=ft,t.either=rt,t.empty=nt,t.endsWith=at,t.eqBy=pt,t.eqProps=st,t.equals=ct,t.evolve=ot,t.filter=dt,t.find=ht,t.findIndex=ut,t.findLast=mt,t.findLastIndex=yt,t.flatten=Rt,t.flip=gt,t.forEach=Wt,t.forEachObjIndexed=vt,t.fromPairs=xt,t.groupBy=kt,t.groupWith=Pt,t.gt=It,t.gte=jt,t.has=qt,t.hasIn=bt,t.hasPath=Bt,t.head=Ot,t.identical=Lt,t.identity=wt,t.ifElse=At,t.inc=Et,t.includes=Dt,t.indexBy=Kt,t.indexOf=Nt,t.init=zt,t.innerJoin=St,t.insert=Tt,t.insertAll=_t,t.intersection=Mt,t.intersperse=Ct,t.into=Ft,t.invert=Jt,t.invertObj=Ut,t.invoker=Gt,t.is=Ht,t.isEmpty=Qt,t.isNil=Vt,t.join=Xt,t.juxt=Yt,t.keys=Zt,t.keysIn=$t,t.last=ti,t.lastIndexOf=ii,t.length=ei,t.lens=li,t.lensIndex=fi,t.lensPath=ri,t.lensProp=ni,t.lift=ai,t.liftN=pi,t.lt=si,t.lte=ci,t.map=oi,t.mapAccum=di,t.mapAccumRight=hi,t.mapObjIndexed=ui,t.match=mi,t.mathMod=yi,t.max=Ri,t.maxBy=gi,t.mean=Wi,t.median=vi,t.memoizeWith=xi,t.merge=ki,t.mergeAll=Pi,t.mergeDeepLeft=Ii,t.mergeDeepRight=ji,t.mergeDeepWith=qi,t.mergeDeepWithKey=bi,t.mergeLeft=Bi,t.mergeRight=Oi,t.mergeWith=Li,t.mergeWithKey=wi,t.min=Ai,t.minBy=Ei,t.modulo=Di,t.multiply=Ki,t.nAry=Ni,t.negate=zi,t.none=Si,t.not=Ti,t.nth=_i,t.nthArg=Mi,t.o=Ci,t.objOf=Fi,t.of=Ji,t.omit=Ui,t.once=Gi,t.or=Hi,t.otherwise=Qi,t.over=Vi,t.pair=Xi,t.partial=Yi,t.partialRight=Zi,t.partition=$i,t.path=te,t.pathEq=ie,t.pathOr=ee,t.pathSatisfies=le,t.pick=fe,t.pickAll=re,t.pickBy=ne,t.pipe=ae,t.pipeK=pe,t.pipeP=se,t.pipeWith=ce,t.pluck=oe,t.prepend=de,t.product=he,t.project=ue,t.prop=me,t.propEq=ye,t.propIs=Re,t.propOr=ge,t.propSatisfies=We,t.props=ve,t.range=xe,t.reduce=ke,t.reduceBy=Pe,t.reduceRight=Ie,t.reduceWhile=je,t.reduced=qe,t.reject=be,t.remove=Be,t.repeat=Oe,t.replace=Le,t.reverse=we,t.scan=Ae,t.sequence=Ee,t.set=De,t.slice=Ke,t.sort=Ne,t.sortBy=ze,t.sortWith=Se,t.split=Te,t.splitAt=_e,t.splitEvery=Me,t.splitWhen=Ce,t.startsWith=Fe,t.subtract=Je,t.sum=Ue,t.symmetricDifference=Ge,t.symmetricDifferenceWith=He,t.tail=Qe,t.take=Ve,t.takeLast=Xe,t.takeLastWhile=Ye,t.takeWhile=Ze,t.tap=$e,t.test=tl,t.then=il,t.thunkify=el,t.times=ll,t.toLower=fl,t.toPairs=rl,t.toPairsIn=nl,t.toString=al,t.toUpper=pl,t.transduce=sl,t.transpose=cl,t.traverse=ol,t.trim=dl,t.tryCatch=hl,t.type=ul,t.unapply=ml,t.unary=yl,t.uncurryN=Rl,t.unfold=gl,t.union=Wl,t.unionWith=vl,t.uniq=xl,t.uniqBy=kl,t.uniqWith=Pl,t.unless=Il,t.unnest=jl,t.until=ql,t.update=bl,t.useWith=Bl,t.values=Ol,t.valuesIn=Ll,t.view=wl,t.when=Al,t.where=El,t.whereEq=Dl,t.without=Kl,t.xprod=Nl,t.zip=zl,t.zipObj=Sl,t.zipWith=Tl,Object.defineProperty(t,"__esModule",{value:!0})}); +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("ramda"),require("karet.lift")):"function"==typeof define&&define.amd?define(["exports","ramda","karet.lift"],i):i((t.Kefir=t.Kefir||{},t.Kefir.ramda={}),t.R,t.karet.lift)}(this,function(t,i,e){"use strict";var l=e.lift(i.F),f=e.lift(i.T),r=e.lift(i.add),n=e.liftRec(i.addIndex),a=e.lift(i.adjust),p=e.lift(i.all),s=e.liftRec(i.allPass),c=e.liftRec(i.always),o=e.lift(i.and),d=e.lift(i.andThen),h=e.lift(i.any),u=e.liftRec(i.anyPass),m=e.lift(i.ap),y=e.lift(i.aperture),R=e.lift(i.append),g=e.lift(i.apply),W=e.liftRec(i.applySpec),v=e.lift(i.applyTo),x=e.lift(i.ascend),k=e.lift(i.assoc),P=e.lift(i.assocPath),I=e.liftRec(i.binary),j=e.liftRec(i.bind),q=e.liftRec(i.both),b=e.liftRec(i.call),B=e.liftRec(i.chain),O=e.lift(i.clamp),L=e.lift(i.clone),w=e.liftRec(i.comparator),A=e.liftRec(i.complement),E=e.liftRec(i.compose),D=e.liftRec(i.composeK),K=e.liftRec(i.composeP),N=e.liftRec(i.composeWith),z=e.lift(i.concat),S=e.liftRec(i.cond),T=e.liftRec(i.construct),_=e.liftRec(i.constructN),M=e.lift(i.contains),C=e.liftRec(i.converge),F=e.lift(i.countBy),J=e.liftRec(i.curry),U=e.liftRec(i.curryN),G=e.lift(i.dec),H=e.lift(i.defaultTo),Q=e.lift(i.descend),V=e.lift(i.difference),X=e.lift(i.differenceWith),Y=e.lift(i.dissoc),Z=e.lift(i.dissocPath),$=e.lift(i.divide),tt=e.lift(i.drop),it=e.lift(i.dropLast),et=e.lift(i.dropLastWhile),lt=e.lift(i.dropRepeats),ft=e.lift(i.dropRepeatsWith),rt=e.lift(i.dropWhile),nt=e.liftRec(i.either),at=e.lift(i.empty),pt=e.lift(i.endsWith),st=e.lift(i.eqBy),ct=e.lift(i.eqProps),ot=e.lift(i.equals),dt=e.lift(i.evolve),ht=e.lift(i.filter),ut=e.lift(i.find),mt=e.lift(i.findIndex),yt=e.lift(i.findLast),Rt=e.lift(i.findLastIndex),gt=e.lift(i.flatten),Wt=e.liftRec(i.flip),vt=e.lift(i.forEach),xt=e.lift(i.forEachObjIndexed),kt=e.lift(i.fromPairs),Pt=e.lift(i.groupBy),It=e.lift(i.groupWith),jt=e.lift(i.gt),qt=e.lift(i.gte),bt=e.lift(i.has),Bt=e.lift(i.hasIn),Ot=e.lift(i.hasPath),Lt=e.lift(i.head),wt=e.lift(i.identical),At=e.lift(i.identity),Et=e.liftRec(i.ifElse),Dt=e.lift(i.inc),Kt=e.lift(i.includes),Nt=e.lift(i.indexBy),zt=e.lift(i.indexOf),St=e.lift(i.init),Tt=e.lift(i.innerJoin),_t=e.lift(i.insert),Mt=e.lift(i.insertAll),Ct=e.lift(i.intersection),Ft=e.lift(i.intersperse),Jt=e.lift(i.into),Ut=e.lift(i.invert),Gt=e.lift(i.invertObj),Ht=e.liftRec(i.invoker),Qt=e.lift(i.is),Vt=e.lift(i.isEmpty),Xt=e.lift(i.isNil),Yt=e.lift(i.join),Zt=e.liftRec(i.juxt),$t=e.lift(i.keys),ti=e.lift(i.keysIn),ii=e.lift(i.last),ei=e.lift(i.lastIndexOf),li=e.lift(i.length),fi=e.lift(i.lens),ri=e.lift(i.lensIndex),ni=e.lift(i.lensPath),ai=e.lift(i.lensProp),pi=e.liftRec(i.lift),si=e.liftRec(i.liftN),ci=e.lift(i.lt),oi=e.lift(i.lte),di=e.lift(i.map),hi=e.lift(i.mapAccum),ui=e.lift(i.mapAccumRight),mi=e.lift(i.mapObjIndexed),yi=e.lift(i.match),Ri=e.lift(i.mathMod),gi=e.lift(i.max),Wi=e.lift(i.maxBy),vi=e.lift(i.mean),xi=e.lift(i.median),ki=e.liftRec(i.memoizeWith),Pi=e.lift(i.merge),Ii=e.lift(i.mergeAll),ji=e.lift(i.mergeDeepLeft),qi=e.lift(i.mergeDeepRight),bi=e.lift(i.mergeDeepWith),Bi=e.lift(i.mergeDeepWithKey),Oi=e.lift(i.mergeLeft),Li=e.lift(i.mergeRight),wi=e.lift(i.mergeWith),Ai=e.lift(i.mergeWithKey),Ei=e.lift(i.min),Di=e.lift(i.minBy),Ki=e.lift(i.modulo),Ni=e.lift(i.move),zi=e.lift(i.multiply),Si=e.liftRec(i.nAry),Ti=e.lift(i.negate),_i=e.lift(i.none),Mi=e.lift(i.not),Ci=e.lift(i.nth),Fi=e.liftRec(i.nthArg),Ji=e.liftRec(i.o),Ui=e.lift(i.objOf),Gi=e.lift(i.of),Hi=e.lift(i.omit),Qi=e.liftRec(i.once),Vi=e.lift(i.or),Xi=e.lift(i.otherwise),Yi=e.lift(i.over),Zi=e.lift(i.pair),$i=e.liftRec(i.partial),te=e.liftRec(i.partialRight),ie=e.lift(i.partition),ee=e.lift(i.path),le=e.lift(i.pathEq),fe=e.lift(i.pathOr),re=e.lift(i.pathSatisfies),ne=e.lift(i.paths),ae=e.lift(i.pick),pe=e.lift(i.pickAll),se=e.lift(i.pickBy),ce=e.liftRec(i.pipe),oe=e.liftRec(i.pipeK),de=e.liftRec(i.pipeP),he=e.liftRec(i.pipeWith),ue=e.lift(i.pluck),me=e.lift(i.prepend),ye=e.lift(i.product),Re=e.lift(i.project),ge=e.lift(i.prop),We=e.lift(i.propEq),ve=e.lift(i.propIs),xe=e.lift(i.propOr),ke=e.lift(i.propSatisfies),Pe=e.lift(i.props),Ie=e.lift(i.range),je=e.lift(i.reduce),qe=e.liftRec(i.reduceBy),be=e.lift(i.reduceRight),Be=e.liftRec(i.reduceWhile),Oe=e.lift(i.reduced),Le=e.lift(i.reject),we=e.lift(i.remove),Ae=e.lift(i.repeat),Ee=e.lift(i.replace),De=e.lift(i.reverse),Ke=e.lift(i.scan),Ne=e.lift(i.sequence),ze=e.lift(i.set),Se=e.lift(i.slice),Te=e.lift(i.sort),_e=e.lift(i.sortBy),Me=e.lift(i.sortWith),Ce=e.lift(i.split),Fe=e.lift(i.splitAt),Je=e.lift(i.splitEvery),Ue=e.lift(i.splitWhen),Ge=e.lift(i.startsWith),He=e.lift(i.subtract),Qe=e.lift(i.sum),Ve=e.lift(i.symmetricDifference),Xe=e.lift(i.symmetricDifferenceWith),Ye=e.lift(i.tail),Ze=e.lift(i.take),$e=e.lift(i.takeLast),tl=e.lift(i.takeLastWhile),il=e.lift(i.takeWhile),el=e.lift(i.tap),ll=e.lift(i.test),fl=e.liftRec(i.thunkify),rl=e.lift(i.times),nl=e.lift(i.toLower),al=e.lift(i.toPairs),pl=e.lift(i.toPairsIn),sl=e.lift(i.toString),cl=e.lift(i.toUpper),ol=e.lift(i.transduce),dl=e.lift(i.transpose),hl=e.lift(i.traverse),ul=e.lift(i.trim),ml=e.liftRec(i.tryCatch),yl=e.lift(i.type),Rl=e.liftRec(i.unapply),gl=e.liftRec(i.unary),Wl=e.liftRec(i.uncurryN),vl=e.lift(i.unfold),xl=e.lift(i.union),kl=e.lift(i.unionWith),Pl=e.lift(i.uniq),Il=e.lift(i.uniqBy),jl=e.lift(i.uniqWith),ql=e.lift(i.unless),bl=e.lift(i.unnest),Bl=e.lift(i.until),Ol=e.lift(i.update),Ll=e.liftRec(i.useWith),wl=e.lift(i.values),Al=e.lift(i.valuesIn),El=e.lift(i.view),Dl=e.lift(i.when),Kl=e.lift(i.where),Nl=e.lift(i.whereEq),zl=e.lift(i.without),Sl=e.lift(i.xor),Tl=e.lift(i.xprod),_l=e.lift(i.zip),Ml=e.lift(i.zipObj),Cl=e.lift(i.zipWith);t.__=i.__,t.F=l,t.T=f,t.add=r,t.addIndex=n,t.adjust=a,t.all=p,t.allPass=s,t.always=c,t.and=o,t.andThen=d,t.any=h,t.anyPass=u,t.ap=m,t.aperture=y,t.append=R,t.apply=g,t.applySpec=W,t.applyTo=v,t.ascend=x,t.assoc=k,t.assocPath=P,t.binary=I,t.bind=j,t.both=q,t.call=b,t.chain=B,t.clamp=O,t.clone=L,t.comparator=w,t.complement=A,t.compose=E,t.composeK=D,t.composeP=K,t.composeWith=N,t.concat=z,t.cond=S,t.construct=T,t.constructN=_,t.contains=M,t.converge=C,t.countBy=F,t.curry=J,t.curryN=U,t.dec=G,t.defaultTo=H,t.descend=Q,t.difference=V,t.differenceWith=X,t.dissoc=Y,t.dissocPath=Z,t.divide=$,t.drop=tt,t.dropLast=it,t.dropLastWhile=et,t.dropRepeats=lt,t.dropRepeatsWith=ft,t.dropWhile=rt,t.either=nt,t.empty=at,t.endsWith=pt,t.eqBy=st,t.eqProps=ct,t.equals=ot,t.evolve=dt,t.filter=ht,t.find=ut,t.findIndex=mt,t.findLast=yt,t.findLastIndex=Rt,t.flatten=gt,t.flip=Wt,t.forEach=vt,t.forEachObjIndexed=xt,t.fromPairs=kt,t.groupBy=Pt,t.groupWith=It,t.gt=jt,t.gte=qt,t.has=bt,t.hasIn=Bt,t.hasPath=Ot,t.head=Lt,t.identical=wt,t.identity=At,t.ifElse=Et,t.inc=Dt,t.includes=Kt,t.indexBy=Nt,t.indexOf=zt,t.init=St,t.innerJoin=Tt,t.insert=_t,t.insertAll=Mt,t.intersection=Ct,t.intersperse=Ft,t.into=Jt,t.invert=Ut,t.invertObj=Gt,t.invoker=Ht,t.is=Qt,t.isEmpty=Vt,t.isNil=Xt,t.join=Yt,t.juxt=Zt,t.keys=$t,t.keysIn=ti,t.last=ii,t.lastIndexOf=ei,t.length=li,t.lens=fi,t.lensIndex=ri,t.lensPath=ni,t.lensProp=ai,t.lift=pi,t.liftN=si,t.lt=ci,t.lte=oi,t.map=di,t.mapAccum=hi,t.mapAccumRight=ui,t.mapObjIndexed=mi,t.match=yi,t.mathMod=Ri,t.max=gi,t.maxBy=Wi,t.mean=vi,t.median=xi,t.memoizeWith=ki,t.merge=Pi,t.mergeAll=Ii,t.mergeDeepLeft=ji,t.mergeDeepRight=qi,t.mergeDeepWith=bi,t.mergeDeepWithKey=Bi,t.mergeLeft=Oi,t.mergeRight=Li,t.mergeWith=wi,t.mergeWithKey=Ai,t.min=Ei,t.minBy=Di,t.modulo=Ki,t.move=Ni,t.multiply=zi,t.nAry=Si,t.negate=Ti,t.none=_i,t.not=Mi,t.nth=Ci,t.nthArg=Fi,t.o=Ji,t.objOf=Ui,t.of=Gi,t.omit=Hi,t.once=Qi,t.or=Vi,t.otherwise=Xi,t.over=Yi,t.pair=Zi,t.partial=$i,t.partialRight=te,t.partition=ie,t.path=ee,t.pathEq=le,t.pathOr=fe,t.pathSatisfies=re,t.paths=ne,t.pick=ae,t.pickAll=pe,t.pickBy=se,t.pipe=ce,t.pipeK=oe,t.pipeP=de,t.pipeWith=he,t.pluck=ue,t.prepend=me,t.product=ye,t.project=Re,t.prop=ge,t.propEq=We,t.propIs=ve,t.propOr=xe,t.propSatisfies=ke,t.props=Pe,t.range=Ie,t.reduce=je,t.reduceBy=qe,t.reduceRight=be,t.reduceWhile=Be,t.reduced=Oe,t.reject=Le,t.remove=we,t.repeat=Ae,t.replace=Ee,t.reverse=De,t.scan=Ke,t.sequence=Ne,t.set=ze,t.slice=Se,t.sort=Te,t.sortBy=_e,t.sortWith=Me,t.split=Ce,t.splitAt=Fe,t.splitEvery=Je,t.splitWhen=Ue,t.startsWith=Ge,t.subtract=He,t.sum=Qe,t.symmetricDifference=Ve,t.symmetricDifferenceWith=Xe,t.tail=Ye,t.take=Ze,t.takeLast=$e,t.takeLastWhile=tl,t.takeWhile=il,t.tap=el,t.test=ll,t.thunkify=fl,t.times=rl,t.toLower=nl,t.toPairs=al,t.toPairsIn=pl,t.toString=sl,t.toUpper=cl,t.transduce=ol,t.transpose=dl,t.traverse=hl,t.trim=ul,t.tryCatch=ml,t.type=yl,t.unapply=Rl,t.unary=gl,t.uncurryN=Wl,t.unfold=vl,t.union=xl,t.unionWith=kl,t.uniq=Pl,t.uniqBy=Il,t.uniqWith=jl,t.unless=ql,t.unnest=bl,t.until=Bl,t.update=Ol,t.useWith=Ll,t.values=wl,t.valuesIn=Al,t.view=El,t.when=Dl,t.where=Kl,t.whereEq=Nl,t.without=zl,t.xor=Sl,t.xprod=Tl,t.zip=_l,t.zipObj=Ml,t.zipWith=Cl,Object.defineProperty(t,"__esModule",{value:!0})}); diff --git a/package-lock.json b/package-lock.json index 0e6b4d8..c05022e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "kefir.ramda", - "version": "0.26.0", + "version": "0.27.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -5166,9 +5166,9 @@ "dev": true }, "ramda": { - "version": "0.26.0", - "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.26.0.tgz", - "integrity": "sha512-maK1XqpgsOo5DwjhROjqDvpm1vkphLQbpleVv+b3t5Y9uOQ0t8hTHT582+mDs7RLrex1kd4lWYizNXWLVjsq9w==" + "version": "0.27.1", + "resolved": "https://registry.npmjs.org/ramda/-/ramda-0.27.1.tgz", + "integrity": "sha512-PgIdVpn5y5Yns8vqb8FzBUEYn98V3xcPgawAkkgj0YJ0qDsnHCiNmZYfOGMgOvoB0eWFLpYbhxUR3mxfDIMvpw==" }, "randomatic": { "version": "3.1.1", diff --git a/src/kefir.ramda.js b/src/kefir.ramda.js index a80edbd..b422006 100644 --- a/src/kefir.ramda.js +++ b/src/kefir.ramda.js @@ -13,6 +13,7 @@ export const all = K.lift(R.all) export const allPass = K.liftRec(R.allPass) export const always = K.liftRec(R.always) export const and = K.lift(R.and) +export const andThen = K.lift(R.andThen) export const any = K.lift(R.any) export const anyPass = K.liftRec(R.anyPass) export const ap = K.lift(R.ap) @@ -184,6 +185,7 @@ export const mergeWithKey = K.lift(R.mergeWithKey) export const min = K.lift(R.min) export const minBy = K.lift(R.minBy) export const modulo = K.lift(R.modulo) +export const move = K.lift(R.move) export const multiply = K.lift(R.multiply) export const nAry = K.liftRec(R.nAry) export const negate = K.lift(R.negate) @@ -207,6 +209,7 @@ export const path = K.lift(R.path) export const pathEq = K.lift(R.pathEq) export const pathOr = K.lift(R.pathOr) export const pathSatisfies = K.lift(R.pathSatisfies) +export const paths = K.lift(R.paths) export const pick = K.lift(R.pick) export const pickAll = K.lift(R.pickAll) export const pickBy = K.lift(R.pickBy) @@ -278,7 +281,6 @@ export const takeLastWhile = K.lift(R.takeLastWhile) export const takeWhile = K.lift(R.takeWhile) export const tap = K.lift(R.tap) export const test = K.lift(R.test) -export const then = K.lift(R.then) export const thunkify = K.liftRec(R.thunkify) export const times = K.lift(R.times) export const toLower = K.lift(R.toLower) @@ -313,6 +315,7 @@ export const when = K.lift(R.when) export const where = K.lift(R.where) export const whereEq = K.lift(R.whereEq) export const without = K.lift(R.without) +export const xor = K.lift(R.xor) export const xprod = K.lift(R.xprod) export const zip = K.lift(R.zip) export const zipObj = K.lift(R.zipObj)