Skip to content

Module catalogue

@stopcock/fp keeps its root small. Import specialist APIs from these stable, tree-shakeable subpaths.

The package exposes 491 dual operations under one name per operation. The complete catalogue below shows every direct data-first and curried data-last shape.

SubpathPurpose
/arrayEager array operators, streaming steps the build-time compiler can fuse, explicit *Into writes
/readonly-arrayRead-only alias of the array vocabulary
/non-empty-arrayConstructors and total operations for non-empty arrays
/tupleTyped tuple construction, mapping, zipping, and projection
/recordHomogeneous property-keyed dictionaries with one value type
/mapImmutable Map operations
/setImmutable Set operations
/typed-arrayNumeric typed-array transforms and explicit destination buffers
/indexedShared indexed-collection operations
/iterLazy synchronous sequences

Writable *Into operations preserve the concrete destination type. They reject fixed tuples, heterogeneous or refined record destinations, and ambiguous mutable target unions whenever mutation cannot be proven sound.

SubpathPurpose
/optionExplicit absence
/resultFail-fast recoverable errors
/validationAccumulating independent errors
/schemaStandard Schema V1 production and consumption
/theseLeft, right, or both values
/nullableFocused nullable boundary helpers

Asynchronous failures and asynchronous iteration are provided by @stopcock/async, not duplicated in the core package.

SubpathPurpose
/eqLawful equality relations
/hashComposable deterministic hashing
/ordTotal ordering instances
/orderingPrimitive ordering values and combinators
/semigroupAssociative combination
/monoidCombination with an identity
/groupCombination with inversion
SubpathPurpose
/functionComposition, currying, memoization, predicates, and function utilities
/guardStructural guards and refinements
/objectImmutable object/path operations
/stringString transforms and predicates
/numberNumeric predicates, statistics, and safe partials
/mathArithmetic pipeline operators
/booleanBoolean combinators
/compilecompile/compilePure markers the build-time compiler recognizes; uncompiled, they alias pipe
/fusionSame pipe/flow/compile, imported by a name that says “I mean fusion”
/fusion/debugexplain/explainPure; always report 'sequential' at runtime
/opticLenses, optionals, prisms, traversals, and more
/matchExhaustive tagged-value matching
SubpathPurpose
/readerEnvironment-dependent computations
/state-fnPure state transitions
/writerValues paired with accumulated output
/recursionStack-safe recursion schemes

The package export map is generated from one checked-in manifest. CI builds and imports every runtime and declaration entry from a real packed tarball, so this catalogue cannot silently advertise a missing module.

This catalogue covers all 491 distinct public dual operations. The @stopcock/fp/readonly-array subpath re-exports the 128 array operations, so it uses the same call pairs rather than duplicating them below.

Parameter names and grouping come from the public overloads. Arguments whose types are optional may be omitted. Staged functions keep each parenthesized application visible, and type-only capacity proofs used by *Into operations are not runtime arguments.

OperationData firstData last
adjustadjust(arr, index, f)adjust(index, f)(arr)
apertureaperture(arr, n)aperture(n)(arr)
appendappend(arr, value)append(value)(arr)
arrayEndsWitharrayEndsWith(arr, suffix)arrayEndsWith(suffix)(arr)
arrayStartsWitharrayStartsWith(arr, prefix)arrayStartsWith(prefix)(arr)
binarySearchbinarySearch(values, target, compare)binarySearch(target, compare)(values)
cartesiancartesian(left, right)cartesian(right)(left)
chunkchunk(arr, n)chunk(n)(arr)
collectBycollectBy(arr, f)collectBy(f)(arr)
combinationscombinations(values, size)combinations(size)(values)
concatconcat(a, b)concat(b)(a)
countcount(arr, pred)count(pred)(arr)
countBycountBy(values, key)countBy(key)(values)
differencedifference(a, b)difference(b)(a)
differenceBydifferenceBy(a, b, f)differenceBy(b, f)(a)
differenceWithdifferenceWith(a, b, eq)differenceWith(b, eq)(a)
dropdrop(arr, n)drop(n)(arr)
dropLastdropLast(arr, n)dropLast(n)(arr)
dropLastWhiledropLastWhile(arr, pred)dropLastWhile(pred)(arr)
dropRepeatsBydropRepeatsBy(arr, f)dropRepeatsBy(f)(arr)
dropRepeatsWithdropRepeatsWith(arr, eq)dropRepeatsWith(eq)(arr)
dropUntildropUntil(values, predicate)dropUntil(predicate)(values)
dropWhiledropWhile(arr, pred)dropWhile(pred)(arr)
everyevery(arr, pred)every(pred)(arr)
filterfilter(arr, pred)filter(pred)(arr)
filterIntofilterInto(values, target, predicate)filterInto(target, predicate)(values)
filterMapfilterMap(arr, f)filterMap(f)(arr)
filterWithIndexfilterWithIndex(arr, pred)filterWithIndex(pred)(arr)
findfind(arr, pred)find(pred)(arr)
findIndexfindIndex(arr, pred)findIndex(pred)(arr)
findIndexOrUndefinedfindIndexOrUndefined(arr, pred)findIndexOrUndefined(pred)(arr)
findLastfindLast(arr, pred)findLast(pred)(arr)
findLastIndexfindLastIndex(arr, pred)findLastIndex(pred)(arr)
findLastIndexOrUndefinedfindLastIndexOrUndefined(arr, pred)findLastIndexOrUndefined(pred)(arr)
findLastOrUndefinedfindLastOrUndefined(arr, pred)findLastOrUndefined(pred)(arr)
findMapfindMap(arr, f)findMap(f)(arr)
findMapOrUndefinedfindMapOrUndefined(arr, f)findMapOrUndefined(f)(arr)
findOrUndefinedfindOrUndefined(arr, pred)findOrUndefined(pred)(arr)
flatMapflatMap(arr, f)flatMap(f)(arr)
forEachforEach(arr, f)forEach(f)(arr)
forEachWithIndexforEachWithIndex(arr, f)forEachWithIndex(f)(arr)
groupBygroupBy(arr, f)groupBy(f)(arr)
groupByPropgroupByProp(arr, prop)groupByProp(prop)(arr)
groupMapgroupMap(values, key, project)groupMap(key, project)(values)
groupMapReducegroupMapReduce(values, key, project, combine)groupMapReduce(key, project, combine)(values)
groupWithgroupWith(arr, eq)groupWith(eq)(arr)
hasAtLeasthasAtLeast(arr, n)hasAtLeast(n)(arr)
includesincludes(arr, value)includes(value)(arr)
indexByindexBy(arr, f)indexBy(f)(arr)
indexOfindexOf(arr, value)indexOf(value)(arr)
indexOfOrUndefinedindexOfOrUndefined(arr, value)indexOfOrUndefined(value)(arr)
insertinsert(arr, index, value)insert(index, value)(arr)
insertAllinsertAll(arr, index, values)insertAll(index, values)(arr)
intersectionintersection(a, b)intersection(b)(a)
intersectionByintersectionBy(a, b, f)intersectionBy(b, f)(a)
intersperseintersperse(arr, sep)intersperse(sep)(arr)
joinjoin(arr, sep)join(sep)(arr)
lastIndexOflastIndexOf(arr, value)lastIndexOf(value)(arr)
lastIndexOfOrUndefinedlastIndexOfOrUndefined(arr, value)lastIndexOfOrUndefined(value)(arr)
mapmap(arr, f)map(f)(arr)
mapAccummapAccum(arr, f, init)mapAccum(f, init)(arr)
mapAccumRightmapAccumRight(arr, f, init)mapAccumRight(f, init)(arr)
mapIntomapInto(values, target, f)mapInto(target, f)(values)
mapToObjmapToObj(arr, f)mapToObj(f)(arr)
mapWhilemapWhile(arr, f)mapWhile(f)(arr)
mapWithIndexmapWithIndex(arr, f)mapWithIndex(f)(arr)
meanBymeanBy(arr, f)meanBy(f)(arr)
meanByNonEmptymeanByNonEmpty(arr, f)meanByNonEmpty(f)(arr)
meanByOrUndefinedmeanByOrUndefined(arr, f)meanByOrUndefined(f)(arr)
nonenone(arr, pred)none(pred)(arr)
nthnth(arr, index)nth(index)(arr)
nthOrUndefinednthOrUndefined(arr, index)nthOrUndefined(index)(arr)
partitionpartition(arr, pred)partition(pred)(arr)
partitionMappartitionMap(values, f)partitionMap(f)(values)
pluckpluck(arr, key)pluck(key)(arr)
prependprepend(arr, value)prepend(value)(arr)
reducereduce(arr, f, init)reduce(f, init)(arr)
reduceByreduceBy(arr, keyFn, reducer, init)reduceBy(keyFn, reducer, init)(arr)
reduceRightreduceRight(arr, f, init)reduceRight(f, init)(arr)
reduceWhilereduceWhile(arr, pred, f, init)reduceWhile(pred, f, init)(arr)
rejectreject(arr, pred)reject(pred)(arr)
removeremove(arr, index, count)remove(index, count)(arr)
repeatrepeat(value, n)repeat(n)(value)
samplesample(arr, n)sample(n)(arr)
scanscan(arr, f, init)scan(f, init)(arr)
scan1scan1(values, f)scan1(f)(values)
shuffleWithshuffleWith(values, random)shuffleWith(random)(values)
sliceslice(arr, start, end)slice(start, end)(arr)
slidingWindowslidingWindow(arr, n)slidingWindow(n)(arr)
somesome(arr, pred)some(pred)(arr)
sortBysortBy(arr, cmp)sortBy(cmp)(arr)
sortedIndexsortedIndex(arr, value)sortedIndex(value)(arr)
sortedIndexBysortedIndexBy(arr, value, f)sortedIndexBy(value, f)(arr)
sortedIndexWithsortedIndexWith(arr, pred)sortedIndexWith(pred)(arr)
sortedLastIndexsortedLastIndex(arr, value)sortedLastIndex(value)(arr)
sortedLastIndexBysortedLastIndexBy(arr, value, f)sortedLastIndexBy(value, f)(arr)
spanspan(values, predicate)span(predicate)(values)
splicesplice(arr, start, deleteCount, items)splice(start, deleteCount, items)(arr)
splitAtsplitAt(arr, index)splitAt(index)(arr)
splitWhensplitWhen(arr, pred)splitWhen(pred)(arr)
splitWheneversplitWhenever(arr, pred)splitWhenever(pred)(arr)
sumBysumBy(arr, f)sumBy(f)(arr)
swapswap(arr, i, j)swap(i, j)(arr)
symmetricDifferencesymmetricDifference(a, b)symmetricDifference(b)(a)
symmetricDifferenceBysymmetricDifferenceBy(a, b, f)symmetricDifferenceBy(b, f)(a)
symmetricDifferenceWithsymmetricDifferenceWith(a, b, eq)symmetricDifferenceWith(b, eq)(a)
taketake(arr, n)take(n)(arr)
takeLasttakeLast(arr, n)takeLast(n)(arr)
takeLastWhiletakeLastWhile(arr, pred)takeLastWhile(pred)(arr)
takeSortedBytakeSortedBy(arr, k, cmp)takeSortedBy(k, cmp)(arr)
takeUntiltakeUntil(arr, pred)takeUntil(pred)(arr)
takeWhiletakeWhile(arr, pred)takeWhile(pred)(arr)
timestimes(f, n)times(n)(f)
traversetraverse(values, f)traverse(f)(values)
unfoldunfold(f, seed)unfold(seed)(f)
unionunion(a, b)union(b)(a)
unionByunionBy(a, b, f)unionBy(b, f)(a)
unionWithunionWith(a, b, eq)unionWith(b, eq)(a)
uniqByuniqBy(arr, f)uniqBy(f)(arr)
uniqWithuniqWith(arr, eq)uniqWith(eq)(arr)
updateupdate(arr, index, value)update(index, value)(arr)
withoutwithout(arr, values)without(values)(arr)
withoutBywithoutBy(arr, values, f)withoutBy(values, f)(arr)
xprodxprod(a, b)xprod(b)(a)
zipzip(a, b)zip(b)(a)
zipAllzipAll(left, right)zipAll(right)(left)
zipObjzipObj(keys, values)zipObj(values)(keys)
zipWithzipWith(a, b, f)zipWith(b, f)(a)
OperationData firstData last
appendappend(values, value)append(value)(values)
chunksOfchunksOf(values, size)chunksOf(size)(values)
concatconcat(self, that)concat(that)(self)
concatReadonlyArrayconcatReadonlyArray(self, that)concatReadonlyArray(that)(self)
filterfilter(values, refinement)filter(refinement)(values)
filterMapfilterMap(values, transform)filterMap(transform)(values)
flatMapflatMap(values, transform)flatMap(transform)(values)
groupAdjacentgroupAdjacent(values, instance)groupAdjacent(instance)(values)
intersperseintersperse(values, separator)intersperse(separator)(values)
mapmap(values, transform)map(transform)(values)
maxmax(values, instance)max(instance)(values)
minmin(values, instance)min(instance)(values)
prependprepend(values, value)prepend(value)(values)
reducereduce(values, combine)reduce(combine)(values)
reduceWithreduceWith(values, initial, combine)reduceWith(initial, combine)(values)
sortsort(values, instance)sort(instance)(values)
uniquniq(values, instance)uniq(instance)(values)
zipzip(self, that)zip(that)(self)
zipWithzipWith(self, that, combine)zipWith(that, combine)(self)
OperationData firstData last
appendappend(tuple, value)append(value)(tuple)
atat(tuple, index)at(index)(tuple)
bimapbimap(tuple, mapLeft, mapRight)bimap(mapLeft, mapRight)(tuple)
concatconcat(source, other)concat(other)(source)
mapmap(tuple, f)map(f)(tuple)
mapFirstmapFirst(tuple, f)mapFirst(f)(tuple)
mapIntomapInto(tuple, target, f)mapInto(target, f)(tuple)
mapSecondmapSecond(tuple, f)mapSecond(f)(tuple)
prependprepend(tuple, value)prepend(value)(tuple)
zipzip(source, other)zip(other)(source)
OperationData firstData last
equalsequals(source, other, equal)equals(other, equal)(source)
filterfilter(source, predicate)filter(predicate)(source)
filterIntofilterInto(source, target, predicate)filterInto(target, predicate)(source)
filterMapfilterMap(source, f)filterMap(f)(source)
fromEntriesIntofromEntriesInto(entries, target)fromEntriesInto(target)(entries)
getget(source, key)get(key)(source)
getOrUndefinedgetOrUndefined(source, key)getOrUndefined(key)(source)
hashas(source, key)has(key)(source)
mapmap(source, f)map(f)(source)
mapIntomapInto(source, target, f)mapInto(target, f)(source)
mapKeysmapKeys(source, f)mapKeys(f)(source)
mergemerge(source, other)merge(other)(source)
modifymodify(source, key, f)modify(key, f)(source)
omitomit(source, omitted)omit(omitted)(source)
partitionpartition(source, predicate)partition(predicate)(source)
pickpick(source, selected)pick(selected)(source)
reducereduce(source, reducer, initial)reduce(reducer, initial)(source)
removeremove(source, key)remove(key)(source)
setset(source, key, value)set(key, value)(source)
updateupdate(source, key, f)update(key, f)(source)
OperationData firstData last
differencedifference(source, other)difference(other)(source)
equalsequals(source, other, equal)equals(other, equal)(source)
filterfilter(source, predicate)filter(predicate)(source)
filterIntofilterInto(source, target, predicate)filterInto(target, predicate)(source)
filterMapfilterMap(source, f)filterMap(f)(source)
fromIterableIntofromIterableInto(entries, target)fromIterableInto(target)(entries)
getget(source, key)get(key)(source)
getOrElsegetOrElse(source, key, fallback)getOrElse(key, fallback)(source)
getOrUndefinedgetOrUndefined(source, key)getOrUndefined(key)(source)
hashas(source, key)has(key)(source)
intersectionintersection(source, other)intersection(other)(source)
mapmap(source, f)map(f)(source)
mapIntomapInto(source, target, f)mapInto(target, f)(source)
mapKeysmapKeys(source, f)mapKeys(f)(source)
mergemerge(source, other)merge(other)(source)
modifymodify(source, key, f)modify(key, f)(source)
partitionpartition(source, predicate)partition(predicate)(source)
reducereduce(source, reducer, initial)reduce(reducer, initial)(source)
removeremove(source, key)remove(key)(source)
setset(source, key, value)set(key, value)(source)
unionunion(source, other)union(other)(source)
updateupdate(source, key, f)update(key, f)(source)
OperationData firstData last
addadd(source, value)add(value)(source)
differencedifference(source, other)difference(other)(source)
equalsequals(source, other)equals(other)(source)
filterfilter(source, predicate)filter(predicate)(source)
filterIntofilterInto(source, target, predicate)filterInto(target, predicate)(source)
filterMapfilterMap(source, f)filterMap(f)(source)
flatMapflatMap(source, f)flatMap(f)(source)
fromIterableIntofromIterableInto(source, target)fromIterableInto(target)(source)
hashas(source, value)has(value)(source)
intersectionintersection(source, other)intersection(other)(source)
isDisjointisDisjoint(source, other)isDisjoint(other)(source)
isSubsetisSubset(source, other)isSubset(other)(source)
isSupersetisSuperset(source, other)isSuperset(other)(source)
mapmap(source, f)map(f)(source)
mapIntomapInto(source, target, f)mapInto(target, f)(source)
partitionpartition(source, predicate)partition(predicate)(source)
reducereduce(source, reducer, initial)reduce(reducer, initial)(source)
removeremove(source, value)remove(value)(source)
symmetricDifferencesymmetricDifference(source, other)symmetricDifference(other)(source)
toggletoggle(source, value)toggle(value)(source)
unionunion(source, other)union(other)(source)
unionIntounionInto(source, target)unionInto(target)(source)
OperationData firstData last
atat(source, index)at(index)(source)
atOrUndefinedatOrUndefined(source, index)atOrUndefined(index)(source)
copyIntocopyInto(source, target, targetOffset)copyInto(target, targetOffset)(source)
equalsequals(source, other)equals(other)(source)
filterfilter(source, predicate)filter(predicate)(source)
filterIntofilterInto(source, target, predicate, targetOffset)filterInto(target, predicate, targetOffset)(source)
includesincludes(source, search)includes(search)(source)
indexOfindexOf(source, search)indexOf(search)(source)
indexOfOrUndefinedindexOfOrUndefined(source, search)indexOfOrUndefined(search)(source)
mapmap(source, f)map(f)(source)
mapIntomapInto(source, target, f, targetOffset)mapInto(target, f, targetOffset)(source)
reducereduce(source, reducer, initial)reduce(reducer, initial)(source)
sliceslice(source, start, end)slice(start, end)(source)
sortsort(source, compare)sort(compare)(source)
OperationData firstData last
atat(source, index)at(index)(source)
atOrUndefinedatOrUndefined(source, index)atOrUndefined(index)(source)
copyIntocopyInto(source, target, targetOffset, start, end)copyInto(target, targetOffset, start, end)(source)
equalsequals(source, other, equal)equals(other, equal)(source)
everyevery(source, predicate)every(predicate)(source)
filterfilter(source, predicate)filter(predicate)(source)
filterIntofilterInto(source, target, predicate)filterInto(target, predicate)(source)
filterMapfilterMap(source, f)filterMap(f)(source)
findfind(source, predicate)find(predicate)(source)
findIndexfindIndex(source, predicate)findIndex(predicate)(source)
findIndexOrUndefinedfindIndexOrUndefined(source, predicate)findIndexOrUndefined(predicate)(source)
findOrUndefinedfindOrUndefined(source, predicate)findOrUndefined(predicate)(source)
forEachforEach(source, effect)forEach(effect)(source)
includesincludes(source, search)includes(search)(source)
indexOfindexOf(source, search)indexOf(search)(source)
indexOfOrUndefinedindexOfOrUndefined(source, search)indexOfOrUndefined(search)(source)
mapmap(source, f)map(f)(source)
mapIntomapInto(source, target, f, targetOffset)mapInto(target, f, targetOffset)(source)
reducereduce(source, reducer, initial)reduce(reducer, initial)(source)
reduceRightreduceRight(source, reducer, initial)reduceRight(reducer, initial)(source)
sliceslice(source, start, end)slice(start, end)(source)
somesome(source, predicate)some(predicate)(source)
OperationData firstData last
chunkchunk(source, size)chunk(size)(source)
concatconcat(source, other)concat(other)(source)
distinctBydistinctBy(source, keyOf)distinctBy(keyOf)(source)
dropdrop(source, count)drop(count)(source)
dropWhiledropWhile(source, predicate)dropWhile(predicate)(source)
everyevery(source, predicate)every(predicate)(source)
filterfilter(source, predicate)filter(predicate)(source)
filterMapfilterMap(source, f)filterMap(f)(source)
findfind(source, predicate)find(predicate)(source)
findOrUndefinedfindOrUndefined(source, predicate)findOrUndefined(predicate)(source)
flatMapflatMap(source, f)flatMap(f)(source)
forEachforEach(source, effect)forEach(effect)(source)
intersperseintersperse(source, separator)intersperse(separator)(source)
mapmap(source, f)map(f)(source)
nthnth(source, index)nth(index)(source)
nthOrUndefinednthOrUndefined(source, index)nthOrUndefined(index)(source)
reducereduce(source, reducer, initial)reduce(reducer, initial)(source)
scanscan(source, reducer, initial)scan(reducer, initial)(source)
somesome(source, predicate)some(predicate)(source)
taketake(source, count)take(count)(source)
takeWhiletakeWhile(source, predicate)takeWhile(predicate)(source)
taptap(source, effect)tap(effect)(source)
toArrayIntotoArrayInto(source, target)toArrayInto(target)(source)
zipzip(source, other)zip(other)(source)
zipWithzipWith(source, other, f)zipWith(other, f)(source)
OperationData firstData last
andand(option, next)and(next)(option)
andThenandThen(option, f)andThen(f)(option)
apap(option, fn)ap(fn)(option)
asas(option, value)as(value)(option)
bindbind(option, name, f)bind(name, f)(option)
bindTobindTo(option, name)bindTo(name)(option)
containscontains(option, value)contains(value)(option)
containsWithcontainsWith(option, value, equals)containsWith(equals)(value)(option)
ensureensure(option, predicate)ensure(predicate)(option)
existsexists(option, predicate)exists(predicate)(option)
filterfilter(option, predicate)filter(predicate)(option)
flatMapflatMap(option, f)flatMap(f)(option)
fromPredicatefromPredicate(value, predicate)fromPredicate(predicate)(value)
getOrElsegetOrElse(option, onNone)getOrElse(onNone)(option)
getOrThrowgetOrThrow(option, onNone)getOrThrow(onNone)(option)
getWithDefaultgetWithDefault(option, defaultValue)getWithDefault(defaultValue)(option)
lift2lift2(left, right, f)lift2(f)(left, right)
mapmap(option, f)map(f)(option)
map2map2(left, right, f)map2(right, f)(left)
mapNullablemapNullable(option, f)mapNullable(f)(option)
matchmatch(option, matchers)match(matchers)(option)
orElseorElse(option, fallback)orElse(fallback)(option)
orElseWithorElseWith(option, fallback)orElseWith(fallback)(option)
partitionMappartitionMap(option, f)partitionMap(f)(option)
taptap(option, f)tap(f)(option)
toResulttoResult(option, onNone)toResult(onNone)(option)
traversetraverse(values, f)traverse(f)(values)
zipzip(option, that)zip(that)(option)
zipWithzipWith(option, that, f)zipWith(that, f)(option)
OperationData firstData last
allValidationallValidation(results, combine)allValidation(combine)(results)
andand(result, next)and(next)(result)
andThenandThen(result, f)andThen(f)(result)
apap(result, fn)ap(fn)(result)
asas(result, value)as(value)(result)
bindbind(result, name, f)bind(name, f)(result)
bindTobindTo(result, name)bindTo(name)(result)
containscontains(result, value)contains(value)(result)
containsWithcontainsWith(result, value, equals)containsWith(equals)(value)(result)
ensureensure(result, predicate, onFalse)ensure(predicate, onFalse)(result)
existsexists(result, predicate)exists(predicate)(result)
filterOrElsefilterOrElse(result, predicate, onFalse)filterOrElse(predicate, onFalse)(result)
flatMapflatMap(result, f)flatMap(f)(result)
fromNullablefromNullable(value, onNullish)fromNullable(onNullish)(value)
fromPredicatefromPredicate(value, predicate, onFalse)fromPredicate(predicate, onFalse)(value)
getOrElsegetOrElse(result, onErr)getOrElse(onErr)(result)
getOrThrowgetOrThrow(result, onErr)getOrThrow(onErr)(result)
lift2lift2(left, right, f)lift2(f)(left, right)
mapmap(result, f)map(f)(result)
map2map2(result, that, f)map2(that, f)(result)
mapBothmapBoth(result, handlers)mapBoth(handlers)(result)
mapErrmapErr(result, f)mapErr(f)(result)
matchmatch(result, matchers)match(matchers)(result)
nullablenullable(value, decode)nullable(decode)(value)
optionaloptional(value, decode)optional(decode)(value)
orElseorElse(result, onErr)orElse(onErr)(result)
taptap(result, f)tap(f)(result)
tapErrtapErr(result, f)tapErr(f)(result)
traversetraverse(values, f)traverse(f)(values)
traverseValidationtraverseValidation(values, f)traverseValidation(f)(values)
zipzip(result, that)zip(that)(result)
zipWithzipWith(result, that, f)zipWith(that, f)(result)
OperationData firstData last
fromPredicatefromPredicate(value, predicate, onFalse)fromPredicate(predicate, onFalse)(value)
traversetraverse(values, validate)traverse(validate)(values)
OperationData firstData last
mapmap(schema, transform)map(transform)(schema)
validatevalidate(value, schema)validate(schema)(value)
validateSyncvalidateSync(value, schema)validateSync(schema)(value)
OperationData firstData last
bimapbimap(value, mapError, mapValue)bimap(mapError, mapValue)(value)
flatMapflatMap(value, errors, transform)flatMap(errors)(transform)(value)
mapmap(value, transform)map(transform)(value)
mapLeftmapLeft(value, transform)mapLeft(transform)(value)
matchmatch(value, onLeft, onRight, onBoth)match(onLeft, onRight, onBoth)(value)
zipWithzipWith(self, errors, that, combineValues)zipWith(errors)(that, combineValues)(self)
OperationData firstData last
filterfilter(value, refinement)filter(refinement)(value)
flatMapflatMap(value, transform)flatMap(transform)(value)
getOrElsegetOrElse(value, onNullable)getOrElse(onNullable)(value)
getWithDefaultgetWithDefault(value, defaultValue)getWithDefault(defaultValue)(value)
mapmap(value, transform)map(transform)(value)
matchmatch(value, onNullable, onValue)match(onNullable, onValue)(value)
taptap(value, effect)tap(effect)(value)
toResulttoResult(value, onNullable)toResult(onNullable)(value)
traverseReadonlyArraytraverseReadonlyArray(values, transform)traverseReadonlyArray(transform)(values)
zipzip(self, that)zip(that)(self)
zipWithzipWith(self, that, combine)zipWith(that, combine)(self)
OperationData firstData last
contramapcontramap(instance, project)contramap(project)(instance)
equalsequals(instance, self, that)equals(self, that)(instance)
sameValueZerosameValueZero(self, that)sameValueZero(that)(self)
OperationData firstData last
combinecombine(self, that)combine(that)(self)
contramapcontramap(instance, project)contramap(project)(instance)
OperationData firstData last
betweenbetween(instance, value, minimum, maximum)between(value, minimum, maximum)(instance)
clampclamp(instance, value, minimum, maximum)clamp(value, minimum, maximum)(instance)
combinecombine(self, that)combine(that)(self)
contramapcontramap(instance, project)contramap(project)(instance)
greaterThangreaterThan(instance, self, that)greaterThan(self, that)(instance)
greaterThanOrEqualgreaterThanOrEqual(instance, self, that)greaterThanOrEqual(self, that)(instance)
lessThanlessThan(instance, self, that)lessThan(self, that)(instance)
lessThanOrEquallessThanOrEqual(instance, self, that)lessThanOrEqual(self, that)(instance)
maxmax(instance, self, that)max(self, that)(instance)
minmin(instance, self, that)min(self, that)(instance)
sortsort(instance, values)sort(values)(instance)
OperationData firstData last
andand(value, left, right)and(left, right)(a)
isis(val, ctor)is(ctor)(val)
isArrayOfisArrayOf(val, guard)isArrayOf(guard)(a)
isDeepEqualisDeepEqual(self, that)isDeepEqual(that)(self)
isRecordOfisRecordOf(val, guard)isRecordOf(guard)(a)
isShallowEqualisShallowEqual(self, that)isShallowEqual(that)(self)
isStrictEqualisStrictEqual(self, that)isStrictEqual(that)(self)
notnot(value, refinement)not(refinement)(a)
oror(value, left, right)or(left, right)(a)
propIspropIs(obj, ctor, prop)propIs(ctor, prop)(obj)
OperationData firstData last
assocassoc(value, key, replacement)assoc(key, replacement)(value)
dissocdissoc(value, key)dissoc(key)(value)
evolveevolve(value, transformations)evolve(transformations)(value)
getPathgetPath(value, path)getPath(path)(value)
getPathOrUndefinedgetPathOrUndefined(value, path)getPathOrUndefined(path)(value)
hasPathhasPath(value, path)hasPath(path)(value)
mapKeysmapKeys(value, f)mapKeys(f)(value)
mapValuesmapValues(value, f)mapValues(f)(value)
mergeDeepmergeDeep(left, right, options)mergeDeep(right, options)(left)
mergeWithmergeWith(left, right, resolve)mergeWith(right, resolve)(left)
modifyPathmodifyPath(value, path, f)modifyPath(path, f)(value)
omitomit(value, omitted)omit(omitted)(value)
omitByomitBy(value, predicate)omitBy(predicate)(value)
pickpick(value, selected)pick(selected)(value)
pickBypickBy(value, predicate)pickBy(predicate)(value)
removePathremovePath(value, path)removePath(path)(value)
setPathsetPath(value, path, replacement)setPath(path, replacement)(value)
OperationData firstData last
endsWithendsWith(value, suffix)endsWith(suffix)(value)
graphemeLengthgraphemeLength(value, locale)graphemeLength(locale)(value)
graphemesgraphemes(value, locale)graphemes(locale)(value)
includesincludes(value, search)includes(search)(value)
matchmatch(value, expression)match(expression)(value)
normalizenormalize(value, form)normalize(form)(value)
padEndpadEnd(value, targetLength, fill)padEnd(targetLength, fill)(value)
padStartpadStart(value, targetLength, fill)padStart(targetLength, fill)(value)
parseJsonparseJson(value, validate)parseJson(validate)(value)
repeatrepeat(value, count)repeat(count)(value)
replacereplace(value, search, replacement)replace(search, replacement)(value)
replaceAllreplaceAll(value, search, replacement)replaceAll(search, replacement)(value)
sliceslice(value, start, end)slice(start, end)(value)
splitsplit(value, separator)split(separator)(value)
startsWithstartsWith(value, prefix)startsWith(prefix)(value)
stripPrefixstripPrefix(value, prefix)stripPrefix(prefix)(value)
stripSuffixstripSuffix(value, suffix)stripSuffix(suffix)(value)
testtest(value, expression)test(expression)(value)
truncatetruncate(value, maximum, omission)truncate(maximum, omission)(value)
OperationData firstData last
betweenbetween(value, minimum, maximum)between(minimum, maximum)(value)
clampclamp(value, minimum, maximum)clamp(minimum, maximum)(value)
dotProductdotProduct(left, right)dotProduct(right)(left)
dotProductTruncatedotProductTruncate(left, right)dotProductTruncate(right)(left)
gcdgcd(left, right)gcd(right)(left)
lcmlcm(left, right)lcm(right)(left)
parseIntegerparseInteger(input, radix)parseInteger(radix)(input)
percentilepercentile(values, p)percentile(p)(values)
percentileNonEmptypercentileNonEmpty(values, p)percentileNonEmpty(p)(values)
percentileOrUndefinedpercentileOrUndefined(values, p)percentileOrUndefined(p)(values)
quantilequantile(values, q)quantile(q)(values)
quantileNonEmptyquantileNonEmpty(values, q)quantileNonEmpty(q)(values)
quantileOrUndefinedquantileOrUndefined(values, q)quantileOrUndefined(q)(values)
roundToroundTo(value, digits, mode)roundTo(digits, mode)(value)
weightedMeanweightedMean(values, weights)weightedMean(weights)(values)
weightedMeanOrUndefinedweightedMeanOrUndefined(values, weights)weightedMeanOrUndefined(weights)(values)
OperationData firstData last
addadd(a, b)add(b)(a)
dividedivide(a, b)divide(b)(a)
modulomodulo(a, b)modulo(b)(a)
multiplymultiply(a, b)multiply(b)(a)
subtractsubtract(a, b)subtract(b)(a)
OperationData firstData last
and_and_(a, b)and_(b)(a)
ifElseifElse(cond, onTrue, onFalse)ifElse(onTrue, onFalse)(cond)
or_or_(a, b)or_(b)(a)
OperationData firstData last
collectcollect(optic, source)collect(optic)(source)
modifymodify(optic, source, f)modify(optic, f)(source)
previewpreview(optic, source)preview(optic)(source)
setset(optic, source, focus)set(optic, focus)(source)
viewview(optic, source)view(optic)(source)
OperationData firstData last
discriminantdiscriminant(key, value, handlers)discriminant(key, handlers)(value)
tagtag(value, handlers)tag(handlers)(value)
valuevalue(input, cases, otherwise)value(cases, otherwise)(input)
OperationData firstData last
apap(self, value)ap(value)(self)
composecompose(self, toEnvironment)compose(toEnvironment)(self)
flatMapflatMap(self, transform)flatMap(transform)(self)
locallocal(self, transform)local(transform)(self)
mapmap(self, transform)map(transform)(self)
provideprovide(self, environment)provide(environment)(self)
taptap(self, effect)tap(effect)(self)
traverseReadonlyArraytraverseReadonlyArray(values, transform)traverseReadonlyArray(transform)(values)
zipzip(self, that)zip(that)(self)
zipWithzipWith(self, that, combine)zipWith(that, combine)(self)
OperationData firstData last
apap(self, value)ap(value)(self)
evaluateevaluate(self, initial)evaluate(initial)(self)
executeexecute(self, initial)execute(initial)(self)
flatMapflatMap(self, transform)flatMap(transform)(self)
mapmap(self, transform)map(transform)(self)
runrun(self, initial)run(initial)(self)
taptap(self, effect)tap(effect)(self)
traverseReadonlyArraytraverseReadonlyArray(values, transform)traverseReadonlyArray(transform)(values)
zipzip(self, that)zip(that)(self)
zipWithzipWith(self, that, combine)zipWith(that, combine)(self)
OperationData firstData last
bimapbimap(self, mapOutput, mapValue)bimap(mapOutput, mapValue)(self)
censorcensor(self, transform)censor(transform)(self)
flatMapflatMap(self, output, transform)flatMap(output)(transform)(self)
flattenflatten(self, output)flatten(output)(self)
listenslistens(self, project)listens(project)(self)
mapmap(self, transform)map(transform)(self)
mapWrittenmapWritten(self, transform)mapWritten(transform)(self)
ofof(item, output)of(output)(item)
sequenceReadonlyArraysequenceReadonlyArray(values, output)sequenceReadonlyArray(output)(values)
traverseReadonlyArraytraverseReadonlyArray(values, output, transform)traverseReadonlyArray(output)(transform)(values)
zipzip(self, output, that)zip(output)(that)(self)
zipWithzipWith(self, output, that, combine)zipWith(output)(that, combine)(self)