From 7e826a8a90c5bcad3301cec230deb4dcb358b79a Mon Sep 17 00:00:00 2001 From: Travis CI User Date: Tue, 2 Feb 2021 21:45:59 +0000 Subject: [PATCH] initial commit --- assets/highlight.css | 78 ++ assets/main.js | 58 + assets/search.js | 1 + assets/style.css | 1367 +++++++++++++++++++ functions/adjacentCombine.html | 333 +++++ functions/adjacentCombine_.html | 333 +++++ functions/cartesianProduct.html | 330 +++++ functions/chunk.html | 333 +++++ functions/clear_.html | 323 +++++ functions/compare.html | 340 +++++ functions/concat.html | 323 +++++ functions/concat_.html | 328 +++++ functions/copy.html | 343 +++++ functions/copyWithin.html | 338 +++++ functions/copyWithin_.html | 338 +++++ functions/copy_.html | 343 +++++ functions/count.html | 328 +++++ functions/countEach.html | 330 +++++ functions/cut.html | 328 +++++ functions/cutAt.html | 328 +++++ functions/cutAtRight.html | 328 +++++ functions/cutRight.html | 328 +++++ functions/cycle.html | 332 +++++ functions/deepClone.html | 323 +++++ functions/difference.html | 340 +++++ functions/drop.html | 328 +++++ functions/dropRight.html | 328 +++++ functions/dropWhile.html | 328 +++++ functions/dropWhileRight.html | 328 +++++ functions/entries.html | 323 +++++ functions/every.html | 328 +++++ functions/exclusiveScan.html | 335 +++++ functions/exclusiveScan_.html | 333 +++++ functions/fill.html | 338 +++++ functions/fill_.html | 338 +++++ functions/filter.html | 328 +++++ functions/filterAt.html | 328 +++++ functions/filter_.html | 328 +++++ functions/find.html | 328 +++++ functions/findRight.html | 328 +++++ functions/flat.html | 333 +++++ functions/flatMap.html | 328 +++++ functions/forEach.html | 327 +++++ functions/fromApplication.html | 333 +++++ functions/fromInvocation.html | 328 +++++ functions/fromIterable.html | 323 +++++ functions/fromIterable_.html | 323 +++++ functions/fromRange.html | 328 +++++ functions/get.html | 328 +++++ functions/getAll.html | 328 +++++ functions/getPath.html | 323 +++++ functions/group.html | 335 +++++ functions/hasInfix.html | 340 +++++ functions/hasPath.html | 323 +++++ functions/hasPermutation.html | 340 +++++ functions/hasPrefix.html | 340 +++++ functions/hasSubsequence.html | 340 +++++ functions/hasSuffix.html | 340 +++++ functions/hasUnsortedValue.html | 335 +++++ functions/hasValue.html | 340 +++++ functions/head.html | 328 +++++ functions/ientries.html | 323 +++++ functions/iinfixes.html | 328 +++++ functions/ikeys.html | 323 +++++ functions/includes.html | 333 +++++ functions/inclusiveScan.html | 335 +++++ functions/inclusiveScan_.html | 333 +++++ functions/index.html | 328 +++++ functions/indexOf.html | 333 +++++ functions/indexRange.html | 333 +++++ functions/infixes.html | 328 +++++ functions/init.html | 323 +++++ functions/interleave.html | 323 +++++ functions/intermix.html | 348 +++++ functions/interpolate.html | 328 +++++ functions/intersection.html | 340 +++++ functions/intersperse.html | 328 +++++ functions/ipermutations.html | 328 +++++ functions/iprefixes.html | 328 +++++ functions/is.html | 318 +++++ functions/isDisjoint.html | 340 +++++ functions/isEmpty.html | 323 +++++ functions/isEqual.html | 340 +++++ functions/isSorted.html | 335 +++++ functions/isUnique.html | 335 +++++ functions/isubsequences.html | 328 +++++ functions/isuffixes.html | 328 +++++ functions/ivalues.html | 323 +++++ functions/join.html | 328 +++++ functions/keys.html | 323 +++++ functions/last.html | 328 +++++ functions/lastIndexOf.html | 333 +++++ functions/length.html | 333 +++++ functions/map.html | 330 +++++ functions/map_.html | 328 +++++ functions/maximum.html | 335 +++++ functions/maximumEntries.html | 340 +++++ functions/maximumEntry.html | 335 +++++ functions/maximums.html | 340 +++++ functions/middle.html | 333 +++++ functions/minimum.html | 335 +++++ functions/minimumEntries.html | 340 +++++ functions/minimumEntry.html | 335 +++++ functions/minimums.html | 340 +++++ functions/moveWithin.html | 338 +++++ functions/moveWithin_.html | 338 +++++ functions/partialSort.html | 345 +++++ functions/partialSort_.html | 345 +++++ functions/partition.html | 328 +++++ functions/partitionEach.html | 330 +++++ functions/permutations.html | 328 +++++ functions/pop.html | 323 +++++ functions/pop_.html | 323 +++++ functions/prefixes.html | 328 +++++ functions/push.html | 328 +++++ functions/push_.html | 328 +++++ functions/randomInfix.html | 333 +++++ functions/randomPermutation.html | 333 +++++ functions/randomPermutation_.html | 333 +++++ functions/randomPrefix.html | 333 +++++ functions/randomSubsequence.html | 333 +++++ functions/randomSuffix.html | 333 +++++ functions/randomValue.html | 328 +++++ functions/range.html | 335 +++++ functions/rangeEntries.html | 335 +++++ functions/rangedPartialSort.html | 355 +++++ functions/rangedPartialSort_.html | 355 +++++ functions/rangedSort.html | 350 +++++ functions/rangedSort_.html | 350 +++++ functions/reduce.html | 335 +++++ functions/reduceRight.html | 335 +++++ functions/reject.html | 328 +++++ functions/rejectAt.html | 328 +++++ functions/reject_.html | 328 +++++ functions/remove.html | 328 +++++ functions/removePath_.html | 323 +++++ functions/remove_.html | 328 +++++ functions/repeat.html | 328 +++++ functions/resize_.html | 333 +++++ functions/reverse.html | 323 +++++ functions/reverse_.html | 323 +++++ functions/rotate.html | 328 +++++ functions/rotate_.html | 328 +++++ functions/scanUntil.html | 328 +++++ functions/scanUntilRight.html | 328 +++++ functions/scanWhile.html | 328 +++++ functions/scanWhileRight.html | 328 +++++ functions/search.html | 328 +++++ functions/searchAdjacentDuplicateValue.html | 335 +++++ functions/searchAll.html | 328 +++++ functions/searchInfix.html | 340 +++++ functions/searchInfixAll.html | 340 +++++ functions/searchInfixRight.html | 340 +++++ functions/searchMaximumValue.html | 335 +++++ functions/searchMaximumValues.html | 340 +++++ functions/searchMinimumValue.html | 335 +++++ functions/searchMinimumValues.html | 340 +++++ functions/searchMismatchedValue.html | 340 +++++ functions/searchRight.html | 328 +++++ functions/searchSubsequence.html | 340 +++++ functions/searchUnsortedValue.html | 335 +++++ functions/searchValue.html | 340 +++++ functions/searchValueAll.html | 340 +++++ functions/searchValueRight.html | 340 +++++ functions/set.html | 333 +++++ functions/setPath_.html | 328 +++++ functions/set_.html | 333 +++++ functions/shallowClone.html | 323 +++++ functions/shift.html | 323 +++++ functions/shift_.html | 323 +++++ functions/slice.html | 333 +++++ functions/slice_.html | 333 +++++ functions/some.html | 328 +++++ functions/sort.html | 340 +++++ functions/sort_.html | 340 +++++ functions/splice.html | 338 +++++ functions/splice_.html | 338 +++++ functions/split.html | 328 +++++ functions/splitAt.html | 328 +++++ functions/subsequences.html | 328 +++++ functions/suffixes.html | 328 +++++ functions/swap.html | 333 +++++ functions/swapRanges.html | 343 +++++ functions/swapRanges_.html | 343 +++++ functions/swap_.html | 333 +++++ functions/symmetricDifference.html | 340 +++++ functions/tail.html | 323 +++++ functions/take.html | 328 +++++ functions/takeRight.html | 328 +++++ functions/takeWhile.html | 328 +++++ functions/takeWhileRight.html | 328 +++++ functions/union.html | 340 +++++ functions/union_.html | 340 +++++ functions/unique.html | 335 +++++ functions/unshift.html | 328 +++++ functions/unshift_.html | 328 +++++ functions/values.html | 323 +++++ functions/zip.html | 340 +++++ index.html | 1224 +++++++++++++++++ modules.html | 739 ++++++++++ types/CombineFunction.html | 332 +++++ types/CompareFunction.html | 332 +++++ types/EndFunction.html | 322 +++++ types/Entries.html | 310 +++++ types/IEntries.html | 310 +++++ types/ILists.html | 310 +++++ types/Lists.html | 310 +++++ types/MapFunction.html | 339 +++++ types/ProcessFunction.html | 336 +++++ types/ReadFunction.html | 319 +++++ types/ReduceFunction.html | 344 +++++ types/SwapFunction.html | 337 +++++ types/TestFunction.html | 337 +++++ 213 files changed, 72140 insertions(+) create mode 100644 assets/highlight.css create mode 100644 assets/main.js create mode 100644 assets/search.js create mode 100644 assets/style.css create mode 100644 functions/adjacentCombine.html create mode 100644 functions/adjacentCombine_.html create mode 100644 functions/cartesianProduct.html create mode 100644 functions/chunk.html create mode 100644 functions/clear_.html create mode 100644 functions/compare.html create mode 100644 functions/concat.html create mode 100644 functions/concat_.html create mode 100644 functions/copy.html create mode 100644 functions/copyWithin.html create mode 100644 functions/copyWithin_.html create mode 100644 functions/copy_.html create mode 100644 functions/count.html create mode 100644 functions/countEach.html create mode 100644 functions/cut.html create mode 100644 functions/cutAt.html create mode 100644 functions/cutAtRight.html create mode 100644 functions/cutRight.html create mode 100644 functions/cycle.html create mode 100644 functions/deepClone.html create mode 100644 functions/difference.html create mode 100644 functions/drop.html create mode 100644 functions/dropRight.html create mode 100644 functions/dropWhile.html create mode 100644 functions/dropWhileRight.html create mode 100644 functions/entries.html create mode 100644 functions/every.html create mode 100644 functions/exclusiveScan.html create mode 100644 functions/exclusiveScan_.html create mode 100644 functions/fill.html create mode 100644 functions/fill_.html create mode 100644 functions/filter.html create mode 100644 functions/filterAt.html create mode 100644 functions/filter_.html create mode 100644 functions/find.html create mode 100644 functions/findRight.html create mode 100644 functions/flat.html create mode 100644 functions/flatMap.html create mode 100644 functions/forEach.html create mode 100644 functions/fromApplication.html create mode 100644 functions/fromInvocation.html create mode 100644 functions/fromIterable.html create mode 100644 functions/fromIterable_.html create mode 100644 functions/fromRange.html create mode 100644 functions/get.html create mode 100644 functions/getAll.html create mode 100644 functions/getPath.html create mode 100644 functions/group.html create mode 100644 functions/hasInfix.html create mode 100644 functions/hasPath.html create mode 100644 functions/hasPermutation.html create mode 100644 functions/hasPrefix.html create mode 100644 functions/hasSubsequence.html create mode 100644 functions/hasSuffix.html create mode 100644 functions/hasUnsortedValue.html create mode 100644 functions/hasValue.html create mode 100644 functions/head.html create mode 100644 functions/ientries.html create mode 100644 functions/iinfixes.html create mode 100644 functions/ikeys.html create mode 100644 functions/includes.html create mode 100644 functions/inclusiveScan.html create mode 100644 functions/inclusiveScan_.html create mode 100644 functions/index.html create mode 100644 functions/indexOf.html create mode 100644 functions/indexRange.html create mode 100644 functions/infixes.html create mode 100644 functions/init.html create mode 100644 functions/interleave.html create mode 100644 functions/intermix.html create mode 100644 functions/interpolate.html create mode 100644 functions/intersection.html create mode 100644 functions/intersperse.html create mode 100644 functions/ipermutations.html create mode 100644 functions/iprefixes.html create mode 100644 functions/is.html create mode 100644 functions/isDisjoint.html create mode 100644 functions/isEmpty.html create mode 100644 functions/isEqual.html create mode 100644 functions/isSorted.html create mode 100644 functions/isUnique.html create mode 100644 functions/isubsequences.html create mode 100644 functions/isuffixes.html create mode 100644 functions/ivalues.html create mode 100644 functions/join.html create mode 100644 functions/keys.html create mode 100644 functions/last.html create mode 100644 functions/lastIndexOf.html create mode 100644 functions/length.html create mode 100644 functions/map.html create mode 100644 functions/map_.html create mode 100644 functions/maximum.html create mode 100644 functions/maximumEntries.html create mode 100644 functions/maximumEntry.html create mode 100644 functions/maximums.html create mode 100644 functions/middle.html create mode 100644 functions/minimum.html create mode 100644 functions/minimumEntries.html create mode 100644 functions/minimumEntry.html create mode 100644 functions/minimums.html create mode 100644 functions/moveWithin.html create mode 100644 functions/moveWithin_.html create mode 100644 functions/partialSort.html create mode 100644 functions/partialSort_.html create mode 100644 functions/partition.html create mode 100644 functions/partitionEach.html create mode 100644 functions/permutations.html create mode 100644 functions/pop.html create mode 100644 functions/pop_.html create mode 100644 functions/prefixes.html create mode 100644 functions/push.html create mode 100644 functions/push_.html create mode 100644 functions/randomInfix.html create mode 100644 functions/randomPermutation.html create mode 100644 functions/randomPermutation_.html create mode 100644 functions/randomPrefix.html create mode 100644 functions/randomSubsequence.html create mode 100644 functions/randomSuffix.html create mode 100644 functions/randomValue.html create mode 100644 functions/range.html create mode 100644 functions/rangeEntries.html create mode 100644 functions/rangedPartialSort.html create mode 100644 functions/rangedPartialSort_.html create mode 100644 functions/rangedSort.html create mode 100644 functions/rangedSort_.html create mode 100644 functions/reduce.html create mode 100644 functions/reduceRight.html create mode 100644 functions/reject.html create mode 100644 functions/rejectAt.html create mode 100644 functions/reject_.html create mode 100644 functions/remove.html create mode 100644 functions/removePath_.html create mode 100644 functions/remove_.html create mode 100644 functions/repeat.html create mode 100644 functions/resize_.html create mode 100644 functions/reverse.html create mode 100644 functions/reverse_.html create mode 100644 functions/rotate.html create mode 100644 functions/rotate_.html create mode 100644 functions/scanUntil.html create mode 100644 functions/scanUntilRight.html create mode 100644 functions/scanWhile.html create mode 100644 functions/scanWhileRight.html create mode 100644 functions/search.html create mode 100644 functions/searchAdjacentDuplicateValue.html create mode 100644 functions/searchAll.html create mode 100644 functions/searchInfix.html create mode 100644 functions/searchInfixAll.html create mode 100644 functions/searchInfixRight.html create mode 100644 functions/searchMaximumValue.html create mode 100644 functions/searchMaximumValues.html create mode 100644 functions/searchMinimumValue.html create mode 100644 functions/searchMinimumValues.html create mode 100644 functions/searchMismatchedValue.html create mode 100644 functions/searchRight.html create mode 100644 functions/searchSubsequence.html create mode 100644 functions/searchUnsortedValue.html create mode 100644 functions/searchValue.html create mode 100644 functions/searchValueAll.html create mode 100644 functions/searchValueRight.html create mode 100644 functions/set.html create mode 100644 functions/setPath_.html create mode 100644 functions/set_.html create mode 100644 functions/shallowClone.html create mode 100644 functions/shift.html create mode 100644 functions/shift_.html create mode 100644 functions/slice.html create mode 100644 functions/slice_.html create mode 100644 functions/some.html create mode 100644 functions/sort.html create mode 100644 functions/sort_.html create mode 100644 functions/splice.html create mode 100644 functions/splice_.html create mode 100644 functions/split.html create mode 100644 functions/splitAt.html create mode 100644 functions/subsequences.html create mode 100644 functions/suffixes.html create mode 100644 functions/swap.html create mode 100644 functions/swapRanges.html create mode 100644 functions/swapRanges_.html create mode 100644 functions/swap_.html create mode 100644 functions/symmetricDifference.html create mode 100644 functions/tail.html create mode 100644 functions/take.html create mode 100644 functions/takeRight.html create mode 100644 functions/takeWhile.html create mode 100644 functions/takeWhileRight.html create mode 100644 functions/union.html create mode 100644 functions/union_.html create mode 100644 functions/unique.html create mode 100644 functions/unshift.html create mode 100644 functions/unshift_.html create mode 100644 functions/values.html create mode 100644 functions/zip.html create mode 100644 index.html create mode 100644 modules.html create mode 100644 types/CombineFunction.html create mode 100644 types/CompareFunction.html create mode 100644 types/EndFunction.html create mode 100644 types/Entries.html create mode 100644 types/IEntries.html create mode 100644 types/ILists.html create mode 100644 types/Lists.html create mode 100644 types/MapFunction.html create mode 100644 types/ProcessFunction.html create mode 100644 types/ReadFunction.html create mode 100644 types/ReduceFunction.html create mode 100644 types/SwapFunction.html create mode 100644 types/TestFunction.html diff --git a/assets/highlight.css b/assets/highlight.css new file mode 100644 index 000000000..85cd1835f --- /dev/null +++ b/assets/highlight.css @@ -0,0 +1,78 @@ +:root { + --light-hl-0: #0000FF; + --dark-hl-0: #569CD6; + --light-hl-1: #000000; + --dark-hl-1: #D4D4D4; + --light-hl-2: #0070C1; + --dark-hl-2: #4FC1FF; + --light-hl-3: #795E26; + --dark-hl-3: #DCDCAA; + --light-hl-4: #A31515; + --dark-hl-4: #CE9178; + --light-hl-5: #008000; + --dark-hl-5: #6A9955; + --light-hl-6: #001080; + --dark-hl-6: #9CDCFE; + --light-hl-7: #098658; + --dark-hl-7: #B5CEA8; + --light-code-background: #FFFFFF; + --dark-code-background: #1E1E1E; +} + +@media (prefers-color-scheme: light) { :root { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} } + +@media (prefers-color-scheme: dark) { :root { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} } + +:root[data-theme='light'] { + --hl-0: var(--light-hl-0); + --hl-1: var(--light-hl-1); + --hl-2: var(--light-hl-2); + --hl-3: var(--light-hl-3); + --hl-4: var(--light-hl-4); + --hl-5: var(--light-hl-5); + --hl-6: var(--light-hl-6); + --hl-7: var(--light-hl-7); + --code-background: var(--light-code-background); +} + +:root[data-theme='dark'] { + --hl-0: var(--dark-hl-0); + --hl-1: var(--dark-hl-1); + --hl-2: var(--dark-hl-2); + --hl-3: var(--dark-hl-3); + --hl-4: var(--dark-hl-4); + --hl-5: var(--dark-hl-5); + --hl-6: var(--dark-hl-6); + --hl-7: var(--dark-hl-7); + --code-background: var(--dark-code-background); +} + +.hl-0 { color: var(--hl-0); } +.hl-1 { color: var(--hl-1); } +.hl-2 { color: var(--hl-2); } +.hl-3 { color: var(--hl-3); } +.hl-4 { color: var(--hl-4); } +.hl-5 { color: var(--hl-5); } +.hl-6 { color: var(--hl-6); } +.hl-7 { color: var(--hl-7); } +pre, code { background: var(--code-background); } diff --git a/assets/main.js b/assets/main.js new file mode 100644 index 000000000..4c8fa615a --- /dev/null +++ b/assets/main.js @@ -0,0 +1,58 @@ +"use strict"; +"use strict";(()=>{var Se=Object.create;var re=Object.defineProperty;var we=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var ke=Object.getPrototypeOf,Qe=Object.prototype.hasOwnProperty;var Pe=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var Ie=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Te(e))!Qe.call(t,i)&&i!==r&&re(t,i,{get:()=>e[i],enumerable:!(n=we(e,i))||n.enumerable});return t};var Ce=(t,e,r)=>(r=t!=null?Se(ke(t)):{},Ie(e||!t||!t.__esModule?re(r,"default",{value:t,enumerable:!0}):r,t));var ae=Pe((se,oe)=>{(function(){var t=function(e){var r=new t.Builder;return r.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),r.searchPipeline.add(t.stemmer),e.call(r,r),r.build()};t.version="2.3.9";t.utils={},t.utils.warn=function(e){return function(r){e.console&&console.warn&&console.warn(r)}}(this),t.utils.asString=function(e){return e==null?"":e.toString()},t.utils.clone=function(e){if(e==null)return e;for(var r=Object.create(null),n=Object.keys(e),i=0;i0){var d=t.utils.clone(r)||{};d.position=[a,u],d.index=s.length,s.push(new t.Token(n.slice(a,o),d))}a=o+1}}return s},t.tokenizer.separator=/[\s\-]+/;t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions=Object.create(null),t.Pipeline.registerFunction=function(e,r){r in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+r),e.label=r,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var r=e.label&&e.label in this.registeredFunctions;r||t.utils.warn(`Function is not registered with pipeline. This may cause problems when serialising the index. +`,e)},t.Pipeline.load=function(e){var r=new t.Pipeline;return e.forEach(function(n){var i=t.Pipeline.registeredFunctions[n];if(i)r.add(i);else throw new Error("Cannot load unregistered function: "+n)}),r},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(r){t.Pipeline.warnIfFunctionNotRegistered(r),this._stack.push(r)},this)},t.Pipeline.prototype.after=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");n=n+1,this._stack.splice(n,0,r)},t.Pipeline.prototype.before=function(e,r){t.Pipeline.warnIfFunctionNotRegistered(r);var n=this._stack.indexOf(e);if(n==-1)throw new Error("Cannot find existingFn");this._stack.splice(n,0,r)},t.Pipeline.prototype.remove=function(e){var r=this._stack.indexOf(e);r!=-1&&this._stack.splice(r,1)},t.Pipeline.prototype.run=function(e){for(var r=this._stack.length,n=0;n1&&(oe&&(n=s),o!=e);)i=n-r,s=r+Math.floor(i/2),o=this.elements[s*2];if(o==e||o>e)return s*2;if(ol?d+=2:a==l&&(r+=n[u+1]*i[d+1],u+=2,d+=2);return r},t.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},t.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),r=1,n=0;r0){var o=s.str.charAt(0),a;o in s.node.edges?a=s.node.edges[o]:(a=new t.TokenSet,s.node.edges[o]=a),s.str.length==1&&(a.final=!0),i.push({node:a,editsRemaining:s.editsRemaining,str:s.str.slice(1)})}if(s.editsRemaining!=0){if("*"in s.node.edges)var l=s.node.edges["*"];else{var l=new t.TokenSet;s.node.edges["*"]=l}if(s.str.length==0&&(l.final=!0),i.push({node:l,editsRemaining:s.editsRemaining-1,str:s.str}),s.str.length>1&&i.push({node:s.node,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)}),s.str.length==1&&(s.node.final=!0),s.str.length>=1){if("*"in s.node.edges)var u=s.node.edges["*"];else{var u=new t.TokenSet;s.node.edges["*"]=u}s.str.length==1&&(u.final=!0),i.push({node:u,editsRemaining:s.editsRemaining-1,str:s.str.slice(1)})}if(s.str.length>1){var d=s.str.charAt(0),m=s.str.charAt(1),y;m in s.node.edges?y=s.node.edges[m]:(y=new t.TokenSet,s.node.edges[m]=y),s.str.length==1&&(y.final=!0),i.push({node:y,editsRemaining:s.editsRemaining-1,str:d+s.str.slice(2)})}}}return n},t.TokenSet.fromString=function(e){for(var r=new t.TokenSet,n=r,i=0,s=e.length;i=e;r--){var n=this.uncheckedNodes[r],i=n.child.toString();i in this.minimizedNodes?n.parent.edges[n.char]=this.minimizedNodes[i]:(n.child._str=i,this.minimizedNodes[i]=n.child),this.uncheckedNodes.pop()}};t.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},t.Index.prototype.search=function(e){return this.query(function(r){var n=new t.QueryParser(e,r);n.parse()})},t.Index.prototype.query=function(e){for(var r=new t.Query(this.fields),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),a=Object.create(null),l=0;l1?this._b=1:this._b=e},t.Builder.prototype.k1=function(e){this._k1=e},t.Builder.prototype.add=function(e,r){var n=e[this._ref],i=Object.keys(this._fields);this._documents[n]=r||{},this.documentCount+=1;for(var s=0;s=this.length)return t.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},t.QueryLexer.prototype.width=function(){return this.pos-this.start},t.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},t.QueryLexer.prototype.backup=function(){this.pos-=1},t.QueryLexer.prototype.acceptDigitRun=function(){var e,r;do e=this.next(),r=e.charCodeAt(0);while(r>47&&r<58);e!=t.QueryLexer.EOS&&this.backup()},t.QueryLexer.prototype.more=function(){return this.pos1&&(e.backup(),e.emit(t.QueryLexer.TERM)),e.ignore(),e.more())return t.QueryLexer.lexText},t.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.EDIT_DISTANCE),t.QueryLexer.lexText},t.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(t.QueryLexer.BOOST),t.QueryLexer.lexText},t.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(t.QueryLexer.TERM)},t.QueryLexer.termSeparator=t.tokenizer.separator,t.QueryLexer.lexText=function(e){for(;;){var r=e.next();if(r==t.QueryLexer.EOS)return t.QueryLexer.lexEOS;if(r.charCodeAt(0)==92){e.escapeCharacter();continue}if(r==":")return t.QueryLexer.lexField;if(r=="~")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexEditDistance;if(r=="^")return e.backup(),e.width()>0&&e.emit(t.QueryLexer.TERM),t.QueryLexer.lexBoost;if(r=="+"&&e.width()===1||r=="-"&&e.width()===1)return e.emit(t.QueryLexer.PRESENCE),t.QueryLexer.lexText;if(r.match(t.QueryLexer.termSeparator))return t.QueryLexer.lexTerm}},t.QueryParser=function(e,r){this.lexer=new t.QueryLexer(e),this.query=r,this.currentClause={},this.lexemeIdx=0},t.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=t.QueryParser.parseClause;e;)e=e(this);return this.query},t.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},t.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},t.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},t.QueryParser.parseClause=function(e){var r=e.peekLexeme();if(r!=null)switch(r.type){case t.QueryLexer.PRESENCE:return t.QueryParser.parsePresence;case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expected either a field or a term, found "+r.type;throw r.str.length>=1&&(n+=" with value '"+r.str+"'"),new t.QueryParseError(n,r.start,r.end)}},t.QueryParser.parsePresence=function(e){var r=e.consumeLexeme();if(r!=null){switch(r.str){case"-":e.currentClause.presence=t.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=t.Query.presence.REQUIRED;break;default:var n="unrecognised presence operator'"+r.str+"'";throw new t.QueryParseError(n,r.start,r.end)}var i=e.peekLexeme();if(i==null){var n="expecting term or field, found nothing";throw new t.QueryParseError(n,r.start,r.end)}switch(i.type){case t.QueryLexer.FIELD:return t.QueryParser.parseField;case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var n="expecting term or field, found '"+i.type+"'";throw new t.QueryParseError(n,i.start,i.end)}}},t.QueryParser.parseField=function(e){var r=e.consumeLexeme();if(r!=null){if(e.query.allFields.indexOf(r.str)==-1){var n=e.query.allFields.map(function(o){return"'"+o+"'"}).join(", "),i="unrecognised field '"+r.str+"', possible fields: "+n;throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.fields=[r.str];var s=e.peekLexeme();if(s==null){var i="expecting term, found nothing";throw new t.QueryParseError(i,r.start,r.end)}switch(s.type){case t.QueryLexer.TERM:return t.QueryParser.parseTerm;default:var i="expecting term, found '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseTerm=function(e){var r=e.consumeLexeme();if(r!=null){e.currentClause.term=r.str.toLowerCase(),r.str.indexOf("*")!=-1&&(e.currentClause.usePipeline=!1);var n=e.peekLexeme();if(n==null){e.nextClause();return}switch(n.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+n.type+"'";throw new t.QueryParseError(i,n.start,n.end)}}},t.QueryParser.parseEditDistance=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="edit distance must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.editDistance=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},t.QueryParser.parseBoost=function(e){var r=e.consumeLexeme();if(r!=null){var n=parseInt(r.str,10);if(isNaN(n)){var i="boost must be numeric";throw new t.QueryParseError(i,r.start,r.end)}e.currentClause.boost=n;var s=e.peekLexeme();if(s==null){e.nextClause();return}switch(s.type){case t.QueryLexer.TERM:return e.nextClause(),t.QueryParser.parseTerm;case t.QueryLexer.FIELD:return e.nextClause(),t.QueryParser.parseField;case t.QueryLexer.EDIT_DISTANCE:return t.QueryParser.parseEditDistance;case t.QueryLexer.BOOST:return t.QueryParser.parseBoost;case t.QueryLexer.PRESENCE:return e.nextClause(),t.QueryParser.parsePresence;default:var i="Unexpected lexeme type '"+s.type+"'";throw new t.QueryParseError(i,s.start,s.end)}}},function(e,r){typeof define=="function"&&define.amd?define(r):typeof se=="object"?oe.exports=r():e.lunr=r()}(this,function(){return t})})()});var ne=[];function G(t,e){ne.push({selector:e,constructor:t})}var U=class{constructor(){this.alwaysVisibleMember=null;this.createComponents(document.body),this.ensureActivePageVisible(),this.ensureFocusedElementVisible(),this.listenForCodeCopies(),window.addEventListener("hashchange",()=>this.ensureFocusedElementVisible())}createComponents(e){ne.forEach(r=>{e.querySelectorAll(r.selector).forEach(n=>{n.dataset.hasInstance||(new r.constructor({el:n,app:this}),n.dataset.hasInstance=String(!0))})})}filterChanged(){this.ensureFocusedElementVisible()}ensureActivePageVisible(){let e=document.querySelector(".tsd-navigation .current"),r=e?.parentElement;for(;r&&!r.classList.contains(".tsd-navigation");)r instanceof HTMLDetailsElement&&(r.open=!0),r=r.parentElement;if(e){let n=e.getBoundingClientRect().top-document.documentElement.clientHeight/4;document.querySelector(".site-menu").scrollTop=n}}ensureFocusedElementVisible(){if(this.alwaysVisibleMember&&(this.alwaysVisibleMember.classList.remove("always-visible"),this.alwaysVisibleMember.firstElementChild.remove(),this.alwaysVisibleMember=null),!location.hash)return;let e=document.getElementById(location.hash.substring(1));if(!e)return;let r=e.parentElement;for(;r&&r.tagName!=="SECTION";)r=r.parentElement;if(r&&r.offsetParent==null){this.alwaysVisibleMember=r,r.classList.add("always-visible");let n=document.createElement("p");n.classList.add("warning"),n.textContent="This member is normally hidden due to your filter settings.",r.prepend(n)}}listenForCodeCopies(){document.querySelectorAll("pre > button").forEach(e=>{let r;e.addEventListener("click",()=>{e.previousElementSibling instanceof HTMLElement&&navigator.clipboard.writeText(e.previousElementSibling.innerText.trim()),e.textContent="Copied!",e.classList.add("visible"),clearTimeout(r),r=setTimeout(()=>{e.classList.remove("visible"),r=setTimeout(()=>{e.textContent="Copy"},100)},1e3)})})}};var ie=(t,e=100)=>{let r;return()=>{clearTimeout(r),r=setTimeout(()=>t(),e)}};var ce=Ce(ae());function de(){let t=document.getElementById("tsd-search");if(!t)return;let e=document.getElementById("tsd-search-script");t.classList.add("loading"),e&&(e.addEventListener("error",()=>{t.classList.remove("loading"),t.classList.add("failure")}),e.addEventListener("load",()=>{t.classList.remove("loading"),t.classList.add("ready")}),window.searchData&&t.classList.remove("loading"));let r=document.querySelector("#tsd-search input"),n=document.querySelector("#tsd-search .results");if(!r||!n)throw new Error("The input field or the result list wrapper was not found");let i=!1;n.addEventListener("mousedown",()=>i=!0),n.addEventListener("mouseup",()=>{i=!1,t.classList.remove("has-focus")}),r.addEventListener("focus",()=>t.classList.add("has-focus")),r.addEventListener("blur",()=>{i||(i=!1,t.classList.remove("has-focus"))});let s={base:t.dataset.base+"/"};Oe(t,n,r,s)}function Oe(t,e,r,n){r.addEventListener("input",ie(()=>{Re(t,e,r,n)},200));let i=!1;r.addEventListener("keydown",s=>{i=!0,s.key=="Enter"?Fe(e,r):s.key=="Escape"?r.blur():s.key=="ArrowUp"?ue(e,-1):s.key==="ArrowDown"?ue(e,1):i=!1}),r.addEventListener("keypress",s=>{i&&s.preventDefault()}),document.body.addEventListener("keydown",s=>{s.altKey||s.ctrlKey||s.metaKey||!r.matches(":focus")&&s.key==="/"&&(r.focus(),s.preventDefault())})}function _e(t,e){t.index||window.searchData&&(e.classList.remove("loading"),e.classList.add("ready"),t.data=window.searchData,t.index=ce.Index.load(window.searchData.index))}function Re(t,e,r,n){if(_e(n,t),!n.index||!n.data)return;e.textContent="";let i=r.value.trim(),s=i?n.index.search(`*${i}*`):[];for(let o=0;oa.score-o.score);for(let o=0,a=Math.min(10,s.length);o${le(l.parent,i)}.${u}`);let d=document.createElement("li");d.classList.value=l.classes??"";let m=document.createElement("a");m.href=n.base+l.url,m.innerHTML=u,d.append(m),e.appendChild(d)}}function ue(t,e){let r=t.querySelector(".current");if(!r)r=t.querySelector(e==1?"li:first-child":"li:last-child"),r&&r.classList.add("current");else{let n=r;if(e===1)do n=n.nextElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);else do n=n.previousElementSibling??void 0;while(n instanceof HTMLElement&&n.offsetParent==null);n&&(r.classList.remove("current"),n.classList.add("current"))}}function Fe(t,e){let r=t.querySelector(".current");if(r||(r=t.querySelector("li:first-child")),r){let n=r.querySelector("a");n&&(window.location.href=n.href),e.blur()}}function le(t,e){if(e==="")return t;let r=t.toLocaleLowerCase(),n=e.toLocaleLowerCase(),i=[],s=0,o=r.indexOf(n);for(;o!=-1;)i.push(K(t.substring(s,o)),`${K(t.substring(o,o+n.length))}`),s=o+n.length,o=r.indexOf(n,s);return i.push(K(t.substring(s))),i.join("")}var Me={"&":"&","<":"<",">":">","'":"'",'"':"""};function K(t){return t.replace(/[&<>"'"]/g,e=>Me[e])}var P=class{constructor(e){this.el=e.el,this.app=e.app}};var M="mousedown",fe="mousemove",N="mouseup",J={x:0,y:0},he=!1,ee=!1,De=!1,D=!1,pe=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);document.documentElement.classList.add(pe?"is-mobile":"not-mobile");pe&&"ontouchstart"in document.documentElement&&(De=!0,M="touchstart",fe="touchmove",N="touchend");document.addEventListener(M,t=>{ee=!0,D=!1;let e=M=="touchstart"?t.targetTouches[0]:t;J.y=e.pageY||0,J.x=e.pageX||0});document.addEventListener(fe,t=>{if(ee&&!D){let e=M=="touchstart"?t.targetTouches[0]:t,r=J.x-(e.pageX||0),n=J.y-(e.pageY||0);D=Math.sqrt(r*r+n*n)>10}});document.addEventListener(N,()=>{ee=!1});document.addEventListener("click",t=>{he&&(t.preventDefault(),t.stopImmediatePropagation(),he=!1)});var X=class extends P{constructor(r){super(r);this.className=this.el.dataset.toggle||"",this.el.addEventListener(N,n=>this.onPointerUp(n)),this.el.addEventListener("click",n=>n.preventDefault()),document.addEventListener(M,n=>this.onDocumentPointerDown(n)),document.addEventListener(N,n=>this.onDocumentPointerUp(n))}setActive(r){if(this.active==r)return;this.active=r,document.documentElement.classList.toggle("has-"+this.className,r),this.el.classList.toggle("active",r);let n=(this.active?"to-has-":"from-has-")+this.className;document.documentElement.classList.add(n),setTimeout(()=>document.documentElement.classList.remove(n),500)}onPointerUp(r){D||(this.setActive(!0),r.preventDefault())}onDocumentPointerDown(r){if(this.active){if(r.target.closest(".col-sidebar, .tsd-filter-group"))return;this.setActive(!1)}}onDocumentPointerUp(r){if(!D&&this.active&&r.target.closest(".col-sidebar")){let n=r.target.closest("a");if(n){let i=window.location.href;i.indexOf("#")!=-1&&(i=i.substring(0,i.indexOf("#"))),n.href.substring(0,i.length)==i&&setTimeout(()=>this.setActive(!1),250)}}}};var te;try{te=localStorage}catch{te={getItem(){return null},setItem(){}}}var Q=te;var me=document.head.appendChild(document.createElement("style"));me.dataset.for="filters";var Y=class extends P{constructor(r){super(r);this.key=`filter-${this.el.name}`,this.value=this.el.checked,this.el.addEventListener("change",()=>{this.setLocalStorage(this.el.checked)}),this.setLocalStorage(this.fromLocalStorage()),me.innerHTML+=`html:not(.${this.key}) .tsd-is-${this.el.name} { display: none; } +`}fromLocalStorage(){let r=Q.getItem(this.key);return r?r==="true":this.el.checked}setLocalStorage(r){Q.setItem(this.key,r.toString()),this.value=r,this.handleValueChange()}handleValueChange(){this.el.checked=this.value,document.documentElement.classList.toggle(this.key,this.value),this.app.filterChanged(),document.querySelectorAll(".tsd-index-section").forEach(r=>{r.style.display="block";let n=Array.from(r.querySelectorAll(".tsd-index-link")).every(i=>i.offsetParent==null);r.style.display=n?"none":"block"})}};var Z=class extends P{constructor(r){super(r);this.summary=this.el.querySelector(".tsd-accordion-summary"),this.icon=this.summary.querySelector("svg"),this.key=`tsd-accordion-${this.summary.dataset.key??this.summary.textContent.trim().replace(/\s+/g,"-").toLowerCase()}`;let n=Q.getItem(this.key);this.el.open=n?n==="true":this.el.open,this.el.addEventListener("toggle",()=>this.update()),this.update()}update(){this.icon.style.transform=`rotate(${this.el.open?0:-90}deg)`,Q.setItem(this.key,this.el.open.toString())}};function ve(t){let e=Q.getItem("tsd-theme")||"os";t.value=e,ye(e),t.addEventListener("change",()=>{Q.setItem("tsd-theme",t.value),ye(t.value)})}function ye(t){document.documentElement.dataset.theme=t}de();G(X,"a[data-toggle]");G(Z,".tsd-index-accordion");G(Y,".tsd-filter-item input[type=checkbox]");var ge=document.getElementById("tsd-theme");ge&&ve(ge);var Ae=new U;Object.defineProperty(window,"app",{value:Ae});document.querySelectorAll("summary a").forEach(t=>{t.addEventListener("click",()=>{location.assign(t.href)})});})(); +/*! Bundled license information: + +lunr/lunr.js: + (** + * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 + * Copyright (C) 2020 Oliver Nightingale + * @license MIT + *) + (*! + * lunr.utils + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Set + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.tokenizer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Pipeline + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Vector + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.stemmer + * Copyright (C) 2020 Oliver Nightingale + * Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt + *) + (*! + * lunr.stopWordFilter + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.trimmer + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.TokenSet + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Index + * Copyright (C) 2020 Oliver Nightingale + *) + (*! + * lunr.Builder + * Copyright (C) 2020 Oliver Nightingale + *) +*/ diff --git a/assets/search.js b/assets/search.js new file mode 100644 index 000000000..fd391d50f --- /dev/null +++ b/assets/search.js @@ -0,0 +1 @@ +window.searchData = JSON.parse("{\"rows\":[{\"kind\":64,\"name\":\"fromRange\",\"url\":\"functions/fromRange.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fromInvocation\",\"url\":\"functions/fromInvocation.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fromApplication\",\"url\":\"functions/fromApplication.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fromIterable\",\"url\":\"functions/fromIterable.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fromIterable$\",\"url\":\"functions/fromIterable_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"shallowClone\",\"url\":\"functions/shallowClone.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"deepClone\",\"url\":\"functions/deepClone.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"is\",\"url\":\"functions/is.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"keys\",\"url\":\"functions/keys.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"ikeys\",\"url\":\"functions/ikeys.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"values\",\"url\":\"functions/values.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"ivalues\",\"url\":\"functions/ivalues.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"entries\",\"url\":\"functions/entries.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"ientries\",\"url\":\"functions/ientries.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"index\",\"url\":\"functions/index.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"indexRange\",\"url\":\"functions/indexRange.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isEmpty\",\"url\":\"functions/isEmpty.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"length\",\"url\":\"functions/length.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"resize$\",\"url\":\"functions/resize_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"clear$\",\"url\":\"functions/clear_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"get\",\"url\":\"functions/get.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getAll\",\"url\":\"functions/getAll.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"getPath\",\"url\":\"functions/getPath.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasPath\",\"url\":\"functions/hasPath.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"set\",\"url\":\"functions/set.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"set$\",\"url\":\"functions/set_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"setPath$\",\"url\":\"functions/setPath_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"swap\",\"url\":\"functions/swap.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"swap$\",\"url\":\"functions/swap_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"swapRanges\",\"url\":\"functions/swapRanges.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"swapRanges$\",\"url\":\"functions/swapRanges_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"remove\",\"url\":\"functions/remove.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"remove$\",\"url\":\"functions/remove_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"removePath$\",\"url\":\"functions/removePath_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isSorted\",\"url\":\"functions/isSorted.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasUnsortedValue\",\"url\":\"functions/hasUnsortedValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchUnsortedValue\",\"url\":\"functions/searchUnsortedValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"sort\",\"url\":\"functions/sort.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"sort$\",\"url\":\"functions/sort_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rangedSort\",\"url\":\"functions/rangedSort.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rangedSort$\",\"url\":\"functions/rangedSort_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"partialSort\",\"url\":\"functions/partialSort.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"partialSort$\",\"url\":\"functions/partialSort_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rangedPartialSort\",\"url\":\"functions/rangedPartialSort.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rangedPartialSort$\",\"url\":\"functions/rangedPartialSort_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"minimum\",\"url\":\"functions/minimum.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"minimumEntry\",\"url\":\"functions/minimumEntry.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"maximum\",\"url\":\"functions/maximum.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"maximumEntry\",\"url\":\"functions/maximumEntry.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"range\",\"url\":\"functions/range.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rangeEntries\",\"url\":\"functions/rangeEntries.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"minimums\",\"url\":\"functions/minimums.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"minimumEntries\",\"url\":\"functions/minimumEntries.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"maximums\",\"url\":\"functions/maximums.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"maximumEntries\",\"url\":\"functions/maximumEntries.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchMinimumValue\",\"url\":\"functions/searchMinimumValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchMaximumValue\",\"url\":\"functions/searchMaximumValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchMinimumValues\",\"url\":\"functions/searchMinimumValues.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchMaximumValues\",\"url\":\"functions/searchMaximumValues.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isEqual\",\"url\":\"functions/isEqual.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"compare\",\"url\":\"functions/compare.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"head\",\"url\":\"functions/head.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"tail\",\"url\":\"functions/tail.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"init\",\"url\":\"functions/init.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"last\",\"url\":\"functions/last.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"middle\",\"url\":\"functions/middle.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"slice\",\"url\":\"functions/slice.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"slice$\",\"url\":\"functions/slice_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"includes\",\"url\":\"functions/includes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasValue\",\"url\":\"functions/hasValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchValue\",\"url\":\"functions/searchValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchValueRight\",\"url\":\"functions/searchValueRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchValueAll\",\"url\":\"functions/searchValueAll.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchAdjacentDuplicateValue\",\"url\":\"functions/searchAdjacentDuplicateValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchMismatchedValue\",\"url\":\"functions/searchMismatchedValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasPrefix\",\"url\":\"functions/hasPrefix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasSuffix\",\"url\":\"functions/hasSuffix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasInfix\",\"url\":\"functions/hasInfix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasSubsequence\",\"url\":\"functions/hasSubsequence.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"hasPermutation\",\"url\":\"functions/hasPermutation.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"prefixes\",\"url\":\"functions/prefixes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"iprefixes\",\"url\":\"functions/iprefixes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"suffixes\",\"url\":\"functions/suffixes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isuffixes\",\"url\":\"functions/isuffixes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"infixes\",\"url\":\"functions/infixes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"iinfixes\",\"url\":\"functions/iinfixes.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"subsequences\",\"url\":\"functions/subsequences.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isubsequences\",\"url\":\"functions/isubsequences.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"permutations\",\"url\":\"functions/permutations.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"ipermutations\",\"url\":\"functions/ipermutations.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchInfix\",\"url\":\"functions/searchInfix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchInfixRight\",\"url\":\"functions/searchInfixRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchInfixAll\",\"url\":\"functions/searchInfixAll.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchSubsequence\",\"url\":\"functions/searchSubsequence.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomValue\",\"url\":\"functions/randomValue.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomPrefix\",\"url\":\"functions/randomPrefix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomSuffix\",\"url\":\"functions/randomSuffix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomInfix\",\"url\":\"functions/randomInfix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomSubsequence\",\"url\":\"functions/randomSubsequence.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomPermutation\",\"url\":\"functions/randomPermutation.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"randomPermutation$\",\"url\":\"functions/randomPermutation_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"find\",\"url\":\"functions/find.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"findRight\",\"url\":\"functions/findRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"take\",\"url\":\"functions/take.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"takeRight\",\"url\":\"functions/takeRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"takeWhile\",\"url\":\"functions/takeWhile.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"takeWhileRight\",\"url\":\"functions/takeWhileRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"drop\",\"url\":\"functions/drop.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"dropRight\",\"url\":\"functions/dropRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"dropWhile\",\"url\":\"functions/dropWhile.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"dropWhileRight\",\"url\":\"functions/dropWhileRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"scanWhile\",\"url\":\"functions/scanWhile.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"scanWhileRight\",\"url\":\"functions/scanWhileRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"scanUntil\",\"url\":\"functions/scanUntil.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"scanUntilRight\",\"url\":\"functions/scanUntilRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"indexOf\",\"url\":\"functions/indexOf.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"lastIndexOf\",\"url\":\"functions/lastIndexOf.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"search\",\"url\":\"functions/search.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchRight\",\"url\":\"functions/searchRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"searchAll\",\"url\":\"functions/searchAll.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"forEach\",\"url\":\"functions/forEach.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"some\",\"url\":\"functions/some.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"every\",\"url\":\"functions/every.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"map\",\"url\":\"functions/map.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"map$\",\"url\":\"functions/map_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"reduce\",\"url\":\"functions/reduce.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"reduceRight\",\"url\":\"functions/reduceRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"filter\",\"url\":\"functions/filter.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"filter$\",\"url\":\"functions/filter_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"filterAt\",\"url\":\"functions/filterAt.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"reject\",\"url\":\"functions/reject.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"reject$\",\"url\":\"functions/reject_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rejectAt\",\"url\":\"functions/rejectAt.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"flat\",\"url\":\"functions/flat.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"flatMap\",\"url\":\"functions/flatMap.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"exclusiveScan\",\"url\":\"functions/exclusiveScan.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"exclusiveScan$\",\"url\":\"functions/exclusiveScan_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"inclusiveScan\",\"url\":\"functions/inclusiveScan.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"inclusiveScan$\",\"url\":\"functions/inclusiveScan_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"adjacentCombine\",\"url\":\"functions/adjacentCombine.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"adjacentCombine$\",\"url\":\"functions/adjacentCombine_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"intersperse\",\"url\":\"functions/intersperse.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"interpolate\",\"url\":\"functions/interpolate.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"intermix\",\"url\":\"functions/intermix.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"interleave\",\"url\":\"functions/interleave.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"zip\",\"url\":\"functions/zip.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fill\",\"url\":\"functions/fill.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"fill$\",\"url\":\"functions/fill_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"push\",\"url\":\"functions/push.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"push$\",\"url\":\"functions/push_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"pop\",\"url\":\"functions/pop.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"pop$\",\"url\":\"functions/pop_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"shift\",\"url\":\"functions/shift.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"shift$\",\"url\":\"functions/shift_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"unshift\",\"url\":\"functions/unshift.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"unshift$\",\"url\":\"functions/unshift_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"copy\",\"url\":\"functions/copy.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"copy$\",\"url\":\"functions/copy_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"copyWithin\",\"url\":\"functions/copyWithin.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"copyWithin$\",\"url\":\"functions/copyWithin_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"moveWithin\",\"url\":\"functions/moveWithin.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"moveWithin$\",\"url\":\"functions/moveWithin_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"splice\",\"url\":\"functions/splice.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"splice$\",\"url\":\"functions/splice_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"count\",\"url\":\"functions/count.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"countEach\",\"url\":\"functions/countEach.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"partition\",\"url\":\"functions/partition.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"partitionEach\",\"url\":\"functions/partitionEach.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"split\",\"url\":\"functions/split.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"splitAt\",\"url\":\"functions/splitAt.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"cut\",\"url\":\"functions/cut.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"cutRight\",\"url\":\"functions/cutRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"cutAt\",\"url\":\"functions/cutAt.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"cutAtRight\",\"url\":\"functions/cutAtRight.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"group\",\"url\":\"functions/group.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"chunk\",\"url\":\"functions/chunk.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"concat\",\"url\":\"functions/concat.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"concat$\",\"url\":\"functions/concat_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"join\",\"url\":\"functions/join.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"cycle\",\"url\":\"functions/cycle.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"repeat\",\"url\":\"functions/repeat.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"reverse\",\"url\":\"functions/reverse.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"reverse$\",\"url\":\"functions/reverse_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rotate\",\"url\":\"functions/rotate.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"rotate$\",\"url\":\"functions/rotate_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isUnique\",\"url\":\"functions/isUnique.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"isDisjoint\",\"url\":\"functions/isDisjoint.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"unique\",\"url\":\"functions/unique.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"union\",\"url\":\"functions/union.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"union$\",\"url\":\"functions/union_.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"intersection\",\"url\":\"functions/intersection.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"difference\",\"url\":\"functions/difference.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"symmetricDifference\",\"url\":\"functions/symmetricDifference.html\",\"classes\":\"\"},{\"kind\":64,\"name\":\"cartesianProduct\",\"url\":\"functions/cartesianProduct.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Entries\",\"url\":\"types/Entries.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"IEntries\",\"url\":\"types/IEntries.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"Lists\",\"url\":\"types/Lists.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"ILists\",\"url\":\"types/ILists.html\",\"classes\":\"\"},{\"kind\":4194304,\"name\":\"ReadFunction\",\"url\":\"types/ReadFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ReadFunction.html#__type\",\"classes\":\"\",\"parent\":\"ReadFunction\"},{\"kind\":4194304,\"name\":\"CombineFunction\",\"url\":\"types/CombineFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/CombineFunction.html#__type\",\"classes\":\"\",\"parent\":\"CombineFunction\"},{\"kind\":4194304,\"name\":\"CompareFunction\",\"url\":\"types/CompareFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/CompareFunction.html#__type\",\"classes\":\"\",\"parent\":\"CompareFunction\"},{\"kind\":4194304,\"name\":\"ProcessFunction\",\"url\":\"types/ProcessFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ProcessFunction.html#__type\",\"classes\":\"\",\"parent\":\"ProcessFunction\"},{\"kind\":4194304,\"name\":\"TestFunction\",\"url\":\"types/TestFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/TestFunction.html#__type\",\"classes\":\"\",\"parent\":\"TestFunction\"},{\"kind\":4194304,\"name\":\"MapFunction\",\"url\":\"types/MapFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/MapFunction.html#__type\",\"classes\":\"\",\"parent\":\"MapFunction\"},{\"kind\":4194304,\"name\":\"ReduceFunction\",\"url\":\"types/ReduceFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/ReduceFunction.html#__type\",\"classes\":\"\",\"parent\":\"ReduceFunction\"},{\"kind\":4194304,\"name\":\"EndFunction\",\"url\":\"types/EndFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/EndFunction.html#__type\",\"classes\":\"\",\"parent\":\"EndFunction\"},{\"kind\":4194304,\"name\":\"SwapFunction\",\"url\":\"types/SwapFunction.html\",\"classes\":\"\"},{\"kind\":65536,\"name\":\"__type\",\"url\":\"types/SwapFunction.html#__type\",\"classes\":\"\",\"parent\":\"SwapFunction\"},{\"kind\":8388608,\"name\":\"fromCall\",\"url\":\"modules.html#fromCall\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"fromApply\",\"url\":\"modules.html#fromApply\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"from\",\"url\":\"modules.html#from\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"from$\",\"url\":\"modules.html#from_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"clone\",\"url\":\"modules.html#clone\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"size\",\"url\":\"modules.html#size\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"at\",\"url\":\"modules.html#at\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"with\",\"url\":\"modules.html#with\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"toSorted\",\"url\":\"modules.html#toSorted\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"min\",\"url\":\"modules.html#min\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"minEntry\",\"url\":\"modules.html#minEntry\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"max\",\"url\":\"modules.html#max\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"maxEntry\",\"url\":\"modules.html#maxEntry\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"front\",\"url\":\"modules.html#front\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"first\",\"url\":\"modules.html#first\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"back\",\"url\":\"modules.html#back\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"searchAdjacentDuplicate\",\"url\":\"modules.html#searchAdjacentDuplicate\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"searchMismatch\",\"url\":\"modules.html#searchMismatch\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"startsWith\",\"url\":\"modules.html#startsWith\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"endsWith\",\"url\":\"modules.html#endsWith\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"value\",\"url\":\"modules.html#value\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"prefix\",\"url\":\"modules.html#prefix\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"suffix\",\"url\":\"modules.html#suffix\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"infix\",\"url\":\"modules.html#infix\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"subsequence\",\"url\":\"modules.html#subsequence\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"permutation\",\"url\":\"modules.html#permutation\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"permutation$\",\"url\":\"modules.html#permutation_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"permute$\",\"url\":\"modules.html#permute_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"shuffle$\",\"url\":\"modules.html#shuffle_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"left\",\"url\":\"modules.html#left\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"right\",\"url\":\"modules.html#right\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"findIndex\",\"url\":\"modules.html#findIndex\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"findLastIndex\",\"url\":\"modules.html#findLastIndex\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"anyOf\",\"url\":\"modules.html#anyOf\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"allOf\",\"url\":\"modules.html#allOf\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"findAll\",\"url\":\"modules.html#findAll\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"accumulate\",\"url\":\"modules.html#accumulate\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"pushBack\",\"url\":\"modules.html#pushBack\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"append\",\"url\":\"modules.html#append\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"pushBack$\",\"url\":\"modules.html#pushBack_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"append$\",\"url\":\"modules.html#append_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"popBack\",\"url\":\"modules.html#popBack\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"popBack$\",\"url\":\"modules.html#popBack_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"popFront\",\"url\":\"modules.html#popFront\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"popFront$\",\"url\":\"modules.html#popFront_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"pushFront\",\"url\":\"modules.html#pushFront\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"prepend\",\"url\":\"modules.html#prepend\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"pushFront$\",\"url\":\"modules.html#pushFront_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"prepend$\",\"url\":\"modules.html#prepend_\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"toSpliced\",\"url\":\"modules.html#toSpliced\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"countAs\",\"url\":\"modules.html#countAs\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"groupToMap\",\"url\":\"modules.html#groupToMap\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"partitionAs\",\"url\":\"modules.html#partitionAs\",\"classes\":\"\"},{\"kind\":8388608,\"name\":\"toReversed\",\"url\":\"modules.html#toReversed\",\"classes\":\"\"}],\"index\":{\"version\":\"2.3.9\",\"fields\":[\"name\",\"comment\"],\"fieldVectors\":[[\"name/0\",[0,51.967]],[\"comment/0\",[]],[\"name/1\",[1,51.967]],[\"comment/1\",[]],[\"name/2\",[2,51.967]],[\"comment/2\",[]],[\"name/3\",[3,46.858]],[\"comment/3\",[]],[\"name/4\",[3,46.858]],[\"comment/4\",[]],[\"name/5\",[4,51.967]],[\"comment/5\",[]],[\"name/6\",[5,51.967]],[\"comment/6\",[]],[\"name/7\",[6,51.967]],[\"comment/7\",[]],[\"name/8\",[7,51.967]],[\"comment/8\",[]],[\"name/9\",[8,51.967]],[\"comment/9\",[]],[\"name/10\",[9,51.967]],[\"comment/10\",[]],[\"name/11\",[10,51.967]],[\"comment/11\",[]],[\"name/12\",[11,46.858]],[\"comment/12\",[]],[\"name/13\",[12,46.858]],[\"comment/13\",[]],[\"name/14\",[13,51.967]],[\"comment/14\",[]],[\"name/15\",[14,51.967]],[\"comment/15\",[]],[\"name/16\",[15,51.967]],[\"comment/16\",[]],[\"name/17\",[16,51.967]],[\"comment/17\",[]],[\"name/18\",[17,51.967]],[\"comment/18\",[]],[\"name/19\",[18,51.967]],[\"comment/19\",[]],[\"name/20\",[19,51.967]],[\"comment/20\",[]],[\"name/21\",[20,51.967]],[\"comment/21\",[]],[\"name/22\",[21,51.967]],[\"comment/22\",[]],[\"name/23\",[22,51.967]],[\"comment/23\",[]],[\"name/24\",[23,46.858]],[\"comment/24\",[]],[\"name/25\",[23,46.858]],[\"comment/25\",[]],[\"name/26\",[24,51.967]],[\"comment/26\",[]],[\"name/27\",[25,46.858]],[\"comment/27\",[]],[\"name/28\",[25,46.858]],[\"comment/28\",[]],[\"name/29\",[26,46.858]],[\"comment/29\",[]],[\"name/30\",[26,46.858]],[\"comment/30\",[]],[\"name/31\",[27,46.858]],[\"comment/31\",[]],[\"name/32\",[27,46.858]],[\"comment/32\",[]],[\"name/33\",[28,51.967]],[\"comment/33\",[]],[\"name/34\",[29,51.967]],[\"comment/34\",[]],[\"name/35\",[30,51.967]],[\"comment/35\",[]],[\"name/36\",[31,51.967]],[\"comment/36\",[]],[\"name/37\",[32,46.858]],[\"comment/37\",[]],[\"name/38\",[32,46.858]],[\"comment/38\",[]],[\"name/39\",[33,46.858]],[\"comment/39\",[]],[\"name/40\",[33,46.858]],[\"comment/40\",[]],[\"name/41\",[34,46.858]],[\"comment/41\",[]],[\"name/42\",[34,46.858]],[\"comment/42\",[]],[\"name/43\",[35,46.858]],[\"comment/43\",[]],[\"name/44\",[35,46.858]],[\"comment/44\",[]],[\"name/45\",[36,51.967]],[\"comment/45\",[]],[\"name/46\",[37,51.967]],[\"comment/46\",[]],[\"name/47\",[38,51.967]],[\"comment/47\",[]],[\"name/48\",[39,51.967]],[\"comment/48\",[]],[\"name/49\",[40,51.967]],[\"comment/49\",[]],[\"name/50\",[41,51.967]],[\"comment/50\",[]],[\"name/51\",[42,51.967]],[\"comment/51\",[]],[\"name/52\",[43,51.967]],[\"comment/52\",[]],[\"name/53\",[44,51.967]],[\"comment/53\",[]],[\"name/54\",[45,51.967]],[\"comment/54\",[]],[\"name/55\",[46,51.967]],[\"comment/55\",[]],[\"name/56\",[47,51.967]],[\"comment/56\",[]],[\"name/57\",[48,51.967]],[\"comment/57\",[]],[\"name/58\",[49,51.967]],[\"comment/58\",[]],[\"name/59\",[50,51.967]],[\"comment/59\",[]],[\"name/60\",[51,51.967]],[\"comment/60\",[]],[\"name/61\",[52,51.967]],[\"comment/61\",[]],[\"name/62\",[53,51.967]],[\"comment/62\",[]],[\"name/63\",[54,51.967]],[\"comment/63\",[]],[\"name/64\",[55,51.967]],[\"comment/64\",[]],[\"name/65\",[56,51.967]],[\"comment/65\",[]],[\"name/66\",[57,46.858]],[\"comment/66\",[]],[\"name/67\",[57,46.858]],[\"comment/67\",[]],[\"name/68\",[58,51.967]],[\"comment/68\",[]],[\"name/69\",[59,51.967]],[\"comment/69\",[]],[\"name/70\",[60,51.967]],[\"comment/70\",[]],[\"name/71\",[61,51.967]],[\"comment/71\",[]],[\"name/72\",[62,51.967]],[\"comment/72\",[]],[\"name/73\",[63,51.967]],[\"comment/73\",[]],[\"name/74\",[64,51.967]],[\"comment/74\",[]],[\"name/75\",[65,51.967]],[\"comment/75\",[]],[\"name/76\",[66,51.967]],[\"comment/76\",[]],[\"name/77\",[67,51.967]],[\"comment/77\",[]],[\"name/78\",[68,51.967]],[\"comment/78\",[]],[\"name/79\",[69,51.967]],[\"comment/79\",[]],[\"name/80\",[70,51.967]],[\"comment/80\",[]],[\"name/81\",[71,51.967]],[\"comment/81\",[]],[\"name/82\",[72,51.967]],[\"comment/82\",[]],[\"name/83\",[73,51.967]],[\"comment/83\",[]],[\"name/84\",[74,51.967]],[\"comment/84\",[]],[\"name/85\",[75,51.967]],[\"comment/85\",[]],[\"name/86\",[76,51.967]],[\"comment/86\",[]],[\"name/87\",[77,51.967]],[\"comment/87\",[]],[\"name/88\",[78,51.967]],[\"comment/88\",[]],[\"name/89\",[79,51.967]],[\"comment/89\",[]],[\"name/90\",[80,51.967]],[\"comment/90\",[]],[\"name/91\",[81,51.967]],[\"comment/91\",[]],[\"name/92\",[82,51.967]],[\"comment/92\",[]],[\"name/93\",[83,51.967]],[\"comment/93\",[]],[\"name/94\",[84,51.967]],[\"comment/94\",[]],[\"name/95\",[85,51.967]],[\"comment/95\",[]],[\"name/96\",[86,51.967]],[\"comment/96\",[]],[\"name/97\",[87,51.967]],[\"comment/97\",[]],[\"name/98\",[88,51.967]],[\"comment/98\",[]],[\"name/99\",[89,46.858]],[\"comment/99\",[]],[\"name/100\",[89,46.858]],[\"comment/100\",[]],[\"name/101\",[90,51.967]],[\"comment/101\",[]],[\"name/102\",[91,51.967]],[\"comment/102\",[]],[\"name/103\",[92,51.967]],[\"comment/103\",[]],[\"name/104\",[93,51.967]],[\"comment/104\",[]],[\"name/105\",[94,51.967]],[\"comment/105\",[]],[\"name/106\",[95,51.967]],[\"comment/106\",[]],[\"name/107\",[96,51.967]],[\"comment/107\",[]],[\"name/108\",[97,51.967]],[\"comment/108\",[]],[\"name/109\",[98,51.967]],[\"comment/109\",[]],[\"name/110\",[99,51.967]],[\"comment/110\",[]],[\"name/111\",[100,51.967]],[\"comment/111\",[]],[\"name/112\",[101,51.967]],[\"comment/112\",[]],[\"name/113\",[102,51.967]],[\"comment/113\",[]],[\"name/114\",[103,51.967]],[\"comment/114\",[]],[\"name/115\",[104,51.967]],[\"comment/115\",[]],[\"name/116\",[105,51.967]],[\"comment/116\",[]],[\"name/117\",[106,51.967]],[\"comment/117\",[]],[\"name/118\",[107,51.967]],[\"comment/118\",[]],[\"name/119\",[108,51.967]],[\"comment/119\",[]],[\"name/120\",[109,51.967]],[\"comment/120\",[]],[\"name/121\",[110,51.967]],[\"comment/121\",[]],[\"name/122\",[111,51.967]],[\"comment/122\",[]],[\"name/123\",[112,46.858]],[\"comment/123\",[]],[\"name/124\",[112,46.858]],[\"comment/124\",[]],[\"name/125\",[113,51.967]],[\"comment/125\",[]],[\"name/126\",[114,51.967]],[\"comment/126\",[]],[\"name/127\",[115,46.858]],[\"comment/127\",[]],[\"name/128\",[115,46.858]],[\"comment/128\",[]],[\"name/129\",[116,51.967]],[\"comment/129\",[]],[\"name/130\",[117,46.858]],[\"comment/130\",[]],[\"name/131\",[117,46.858]],[\"comment/131\",[]],[\"name/132\",[118,51.967]],[\"comment/132\",[]],[\"name/133\",[119,51.967]],[\"comment/133\",[]],[\"name/134\",[120,51.967]],[\"comment/134\",[]],[\"name/135\",[121,46.858]],[\"comment/135\",[]],[\"name/136\",[121,46.858]],[\"comment/136\",[]],[\"name/137\",[122,46.858]],[\"comment/137\",[]],[\"name/138\",[122,46.858]],[\"comment/138\",[]],[\"name/139\",[123,46.858]],[\"comment/139\",[]],[\"name/140\",[123,46.858]],[\"comment/140\",[]],[\"name/141\",[124,51.967]],[\"comment/141\",[]],[\"name/142\",[125,51.967]],[\"comment/142\",[]],[\"name/143\",[126,51.967]],[\"comment/143\",[]],[\"name/144\",[127,51.967]],[\"comment/144\",[]],[\"name/145\",[128,51.967]],[\"comment/145\",[]],[\"name/146\",[129,46.858]],[\"comment/146\",[]],[\"name/147\",[129,46.858]],[\"comment/147\",[]],[\"name/148\",[130,46.858]],[\"comment/148\",[]],[\"name/149\",[130,46.858]],[\"comment/149\",[]],[\"name/150\",[131,46.858]],[\"comment/150\",[]],[\"name/151\",[131,46.858]],[\"comment/151\",[]],[\"name/152\",[132,46.858]],[\"comment/152\",[]],[\"name/153\",[132,46.858]],[\"comment/153\",[]],[\"name/154\",[133,46.858]],[\"comment/154\",[]],[\"name/155\",[133,46.858]],[\"comment/155\",[]],[\"name/156\",[134,46.858]],[\"comment/156\",[]],[\"name/157\",[134,46.858]],[\"comment/157\",[]],[\"name/158\",[135,46.858]],[\"comment/158\",[]],[\"name/159\",[135,46.858]],[\"comment/159\",[]],[\"name/160\",[136,46.858]],[\"comment/160\",[]],[\"name/161\",[136,46.858]],[\"comment/161\",[]],[\"name/162\",[137,46.858]],[\"comment/162\",[]],[\"name/163\",[137,46.858]],[\"comment/163\",[]],[\"name/164\",[138,51.967]],[\"comment/164\",[]],[\"name/165\",[139,51.967]],[\"comment/165\",[]],[\"name/166\",[140,51.967]],[\"comment/166\",[]],[\"name/167\",[141,51.967]],[\"comment/167\",[]],[\"name/168\",[142,51.967]],[\"comment/168\",[]],[\"name/169\",[143,51.967]],[\"comment/169\",[]],[\"name/170\",[144,51.967]],[\"comment/170\",[]],[\"name/171\",[145,51.967]],[\"comment/171\",[]],[\"name/172\",[146,51.967]],[\"comment/172\",[]],[\"name/173\",[147,51.967]],[\"comment/173\",[]],[\"name/174\",[148,51.967]],[\"comment/174\",[]],[\"name/175\",[149,51.967]],[\"comment/175\",[]],[\"name/176\",[150,46.858]],[\"comment/176\",[]],[\"name/177\",[150,46.858]],[\"comment/177\",[]],[\"name/178\",[151,51.967]],[\"comment/178\",[]],[\"name/179\",[152,51.967]],[\"comment/179\",[]],[\"name/180\",[153,51.967]],[\"comment/180\",[]],[\"name/181\",[154,46.858]],[\"comment/181\",[]],[\"name/182\",[154,46.858]],[\"comment/182\",[]],[\"name/183\",[155,46.858]],[\"comment/183\",[]],[\"name/184\",[155,46.858]],[\"comment/184\",[]],[\"name/185\",[156,51.967]],[\"comment/185\",[]],[\"name/186\",[157,51.967]],[\"comment/186\",[]],[\"name/187\",[158,51.967]],[\"comment/187\",[]],[\"name/188\",[159,46.858]],[\"comment/188\",[]],[\"name/189\",[159,46.858]],[\"comment/189\",[]],[\"name/190\",[160,51.967]],[\"comment/190\",[]],[\"name/191\",[161,51.967]],[\"comment/191\",[]],[\"name/192\",[162,51.967]],[\"comment/192\",[]],[\"name/193\",[163,51.967]],[\"comment/193\",[]],[\"name/194\",[11,46.858]],[\"comment/194\",[]],[\"name/195\",[12,46.858]],[\"comment/195\",[]],[\"name/196\",[164,51.967]],[\"comment/196\",[]],[\"name/197\",[165,51.967]],[\"comment/197\",[]],[\"name/198\",[166,51.967]],[\"comment/198\",[]],[\"name/199\",[167,33.508]],[\"comment/199\",[]],[\"name/200\",[168,51.967]],[\"comment/200\",[]],[\"name/201\",[167,33.508]],[\"comment/201\",[]],[\"name/202\",[169,51.967]],[\"comment/202\",[]],[\"name/203\",[167,33.508]],[\"comment/203\",[]],[\"name/204\",[170,51.967]],[\"comment/204\",[]],[\"name/205\",[167,33.508]],[\"comment/205\",[]],[\"name/206\",[171,51.967]],[\"comment/206\",[]],[\"name/207\",[167,33.508]],[\"comment/207\",[]],[\"name/208\",[172,51.967]],[\"comment/208\",[]],[\"name/209\",[167,33.508]],[\"comment/209\",[]],[\"name/210\",[173,51.967]],[\"comment/210\",[]],[\"name/211\",[167,33.508]],[\"comment/211\",[]],[\"name/212\",[174,51.967]],[\"comment/212\",[]],[\"name/213\",[167,33.508]],[\"comment/213\",[]],[\"name/214\",[175,51.967]],[\"comment/214\",[]],[\"name/215\",[167,33.508]],[\"comment/215\",[]],[\"name/216\",[176,51.967]],[\"comment/216\",[]],[\"name/217\",[177,51.967]],[\"comment/217\",[]],[\"name/218\",[178,46.858]],[\"comment/218\",[]],[\"name/219\",[178,46.858]],[\"comment/219\",[]],[\"name/220\",[179,51.967]],[\"comment/220\",[]],[\"name/221\",[180,51.967]],[\"comment/221\",[]],[\"name/222\",[181,51.967]],[\"comment/222\",[]],[\"name/223\",[182,51.967]],[\"comment/223\",[]],[\"name/224\",[183,51.967]],[\"comment/224\",[]],[\"name/225\",[184,51.967]],[\"comment/225\",[]],[\"name/226\",[185,51.967]],[\"comment/226\",[]],[\"name/227\",[186,51.967]],[\"comment/227\",[]],[\"name/228\",[187,51.967]],[\"comment/228\",[]],[\"name/229\",[188,51.967]],[\"comment/229\",[]],[\"name/230\",[189,51.967]],[\"comment/230\",[]],[\"name/231\",[190,51.967]],[\"comment/231\",[]],[\"name/232\",[191,51.967]],[\"comment/232\",[]],[\"name/233\",[192,51.967]],[\"comment/233\",[]],[\"name/234\",[193,51.967]],[\"comment/234\",[]],[\"name/235\",[194,51.967]],[\"comment/235\",[]],[\"name/236\",[195,51.967]],[\"comment/236\",[]],[\"name/237\",[196,51.967]],[\"comment/237\",[]],[\"name/238\",[197,51.967]],[\"comment/238\",[]],[\"name/239\",[198,51.967]],[\"comment/239\",[]],[\"name/240\",[199,51.967]],[\"comment/240\",[]],[\"name/241\",[200,46.858]],[\"comment/241\",[]],[\"name/242\",[200,46.858]],[\"comment/242\",[]],[\"name/243\",[201,51.967]],[\"comment/243\",[]],[\"name/244\",[202,51.967]],[\"comment/244\",[]],[\"name/245\",[203,51.967]],[\"comment/245\",[]],[\"name/246\",[204,51.967]],[\"comment/246\",[]],[\"name/247\",[205,51.967]],[\"comment/247\",[]],[\"name/248\",[206,51.967]],[\"comment/248\",[]],[\"name/249\",[207,51.967]],[\"comment/249\",[]],[\"name/250\",[208,51.967]],[\"comment/250\",[]],[\"name/251\",[209,51.967]],[\"comment/251\",[]],[\"name/252\",[210,51.967]],[\"comment/252\",[]],[\"name/253\",[211,46.858]],[\"comment/253\",[]],[\"name/254\",[212,46.858]],[\"comment/254\",[]],[\"name/255\",[211,46.858]],[\"comment/255\",[]],[\"name/256\",[212,46.858]],[\"comment/256\",[]],[\"name/257\",[213,46.858]],[\"comment/257\",[]],[\"name/258\",[213,46.858]],[\"comment/258\",[]],[\"name/259\",[214,46.858]],[\"comment/259\",[]],[\"name/260\",[214,46.858]],[\"comment/260\",[]],[\"name/261\",[215,46.858]],[\"comment/261\",[]],[\"name/262\",[216,46.858]],[\"comment/262\",[]],[\"name/263\",[215,46.858]],[\"comment/263\",[]],[\"name/264\",[216,46.858]],[\"comment/264\",[]],[\"name/265\",[217,51.967]],[\"comment/265\",[]],[\"name/266\",[218,51.967]],[\"comment/266\",[]],[\"name/267\",[219,51.967]],[\"comment/267\",[]],[\"name/268\",[220,51.967]],[\"comment/268\",[]],[\"name/269\",[221,51.967]],[\"comment/269\",[]]],\"invertedIndex\":[[\"__type\",{\"_index\":167,\"name\":{\"199\":{},\"201\":{},\"203\":{},\"205\":{},\"207\":{},\"209\":{},\"211\":{},\"213\":{},\"215\":{}},\"comment\":{}}],[\"accumulate\",{\"_index\":210,\"name\":{\"252\":{}},\"comment\":{}}],[\"adjacentcombine\",{\"_index\":123,\"name\":{\"139\":{},\"140\":{}},\"comment\":{}}],[\"allof\",{\"_index\":208,\"name\":{\"250\":{}},\"comment\":{}}],[\"anyof\",{\"_index\":207,\"name\":{\"249\":{}},\"comment\":{}}],[\"append\",{\"_index\":212,\"name\":{\"254\":{},\"256\":{}},\"comment\":{}}],[\"at\",{\"_index\":181,\"name\":{\"222\":{}},\"comment\":{}}],[\"back\",{\"_index\":190,\"name\":{\"231\":{}},\"comment\":{}}],[\"cartesianproduct\",{\"_index\":163,\"name\":{\"193\":{}},\"comment\":{}}],[\"chunk\",{\"_index\":149,\"name\":{\"175\":{}},\"comment\":{}}],[\"clear\",{\"_index\":18,\"name\":{\"19\":{}},\"comment\":{}}],[\"clone\",{\"_index\":179,\"name\":{\"220\":{}},\"comment\":{}}],[\"combinefunction\",{\"_index\":168,\"name\":{\"200\":{}},\"comment\":{}}],[\"compare\",{\"_index\":51,\"name\":{\"60\":{}},\"comment\":{}}],[\"comparefunction\",{\"_index\":169,\"name\":{\"202\":{}},\"comment\":{}}],[\"concat\",{\"_index\":150,\"name\":{\"176\":{},\"177\":{}},\"comment\":{}}],[\"copy\",{\"_index\":134,\"name\":{\"156\":{},\"157\":{}},\"comment\":{}}],[\"copywithin\",{\"_index\":135,\"name\":{\"158\":{},\"159\":{}},\"comment\":{}}],[\"count\",{\"_index\":138,\"name\":{\"164\":{}},\"comment\":{}}],[\"countas\",{\"_index\":218,\"name\":{\"266\":{}},\"comment\":{}}],[\"counteach\",{\"_index\":139,\"name\":{\"165\":{}},\"comment\":{}}],[\"cut\",{\"_index\":144,\"name\":{\"170\":{}},\"comment\":{}}],[\"cutat\",{\"_index\":146,\"name\":{\"172\":{}},\"comment\":{}}],[\"cutatright\",{\"_index\":147,\"name\":{\"173\":{}},\"comment\":{}}],[\"cutright\",{\"_index\":145,\"name\":{\"171\":{}},\"comment\":{}}],[\"cycle\",{\"_index\":152,\"name\":{\"179\":{}},\"comment\":{}}],[\"deepclone\",{\"_index\":5,\"name\":{\"6\":{}},\"comment\":{}}],[\"difference\",{\"_index\":161,\"name\":{\"191\":{}},\"comment\":{}}],[\"drop\",{\"_index\":96,\"name\":{\"107\":{}},\"comment\":{}}],[\"dropright\",{\"_index\":97,\"name\":{\"108\":{}},\"comment\":{}}],[\"dropwhile\",{\"_index\":98,\"name\":{\"109\":{}},\"comment\":{}}],[\"dropwhileright\",{\"_index\":99,\"name\":{\"110\":{}},\"comment\":{}}],[\"endfunction\",{\"_index\":174,\"name\":{\"212\":{}},\"comment\":{}}],[\"endswith\",{\"_index\":194,\"name\":{\"235\":{}},\"comment\":{}}],[\"entries\",{\"_index\":11,\"name\":{\"12\":{},\"194\":{}},\"comment\":{}}],[\"every\",{\"_index\":111,\"name\":{\"122\":{}},\"comment\":{}}],[\"exclusivescan\",{\"_index\":121,\"name\":{\"135\":{},\"136\":{}},\"comment\":{}}],[\"fill\",{\"_index\":129,\"name\":{\"146\":{},\"147\":{}},\"comment\":{}}],[\"filter\",{\"_index\":115,\"name\":{\"127\":{},\"128\":{}},\"comment\":{}}],[\"filterat\",{\"_index\":116,\"name\":{\"129\":{}},\"comment\":{}}],[\"find\",{\"_index\":90,\"name\":{\"101\":{}},\"comment\":{}}],[\"findall\",{\"_index\":209,\"name\":{\"251\":{}},\"comment\":{}}],[\"findindex\",{\"_index\":205,\"name\":{\"247\":{}},\"comment\":{}}],[\"findlastindex\",{\"_index\":206,\"name\":{\"248\":{}},\"comment\":{}}],[\"findright\",{\"_index\":91,\"name\":{\"102\":{}},\"comment\":{}}],[\"first\",{\"_index\":189,\"name\":{\"230\":{}},\"comment\":{}}],[\"flat\",{\"_index\":119,\"name\":{\"133\":{}},\"comment\":{}}],[\"flatmap\",{\"_index\":120,\"name\":{\"134\":{}},\"comment\":{}}],[\"foreach\",{\"_index\":109,\"name\":{\"120\":{}},\"comment\":{}}],[\"from\",{\"_index\":178,\"name\":{\"218\":{},\"219\":{}},\"comment\":{}}],[\"fromapplication\",{\"_index\":2,\"name\":{\"2\":{}},\"comment\":{}}],[\"fromapply\",{\"_index\":177,\"name\":{\"217\":{}},\"comment\":{}}],[\"fromcall\",{\"_index\":176,\"name\":{\"216\":{}},\"comment\":{}}],[\"frominvocation\",{\"_index\":1,\"name\":{\"1\":{}},\"comment\":{}}],[\"fromiterable\",{\"_index\":3,\"name\":{\"3\":{},\"4\":{}},\"comment\":{}}],[\"fromrange\",{\"_index\":0,\"name\":{\"0\":{}},\"comment\":{}}],[\"front\",{\"_index\":188,\"name\":{\"229\":{}},\"comment\":{}}],[\"get\",{\"_index\":19,\"name\":{\"20\":{}},\"comment\":{}}],[\"getall\",{\"_index\":20,\"name\":{\"21\":{}},\"comment\":{}}],[\"getpath\",{\"_index\":21,\"name\":{\"22\":{}},\"comment\":{}}],[\"group\",{\"_index\":148,\"name\":{\"174\":{}},\"comment\":{}}],[\"grouptomap\",{\"_index\":219,\"name\":{\"267\":{}},\"comment\":{}}],[\"hasinfix\",{\"_index\":67,\"name\":{\"77\":{}},\"comment\":{}}],[\"haspath\",{\"_index\":22,\"name\":{\"23\":{}},\"comment\":{}}],[\"haspermutation\",{\"_index\":69,\"name\":{\"79\":{}},\"comment\":{}}],[\"hasprefix\",{\"_index\":65,\"name\":{\"75\":{}},\"comment\":{}}],[\"hassubsequence\",{\"_index\":68,\"name\":{\"78\":{}},\"comment\":{}}],[\"hassuffix\",{\"_index\":66,\"name\":{\"76\":{}},\"comment\":{}}],[\"hasunsortedvalue\",{\"_index\":30,\"name\":{\"35\":{}},\"comment\":{}}],[\"hasvalue\",{\"_index\":59,\"name\":{\"69\":{}},\"comment\":{}}],[\"head\",{\"_index\":52,\"name\":{\"61\":{}},\"comment\":{}}],[\"ientries\",{\"_index\":12,\"name\":{\"13\":{},\"195\":{}},\"comment\":{}}],[\"iinfixes\",{\"_index\":75,\"name\":{\"85\":{}},\"comment\":{}}],[\"ikeys\",{\"_index\":8,\"name\":{\"9\":{}},\"comment\":{}}],[\"ilists\",{\"_index\":165,\"name\":{\"197\":{}},\"comment\":{}}],[\"includes\",{\"_index\":58,\"name\":{\"68\":{}},\"comment\":{}}],[\"inclusivescan\",{\"_index\":122,\"name\":{\"137\":{},\"138\":{}},\"comment\":{}}],[\"index\",{\"_index\":13,\"name\":{\"14\":{}},\"comment\":{}}],[\"indexof\",{\"_index\":104,\"name\":{\"115\":{}},\"comment\":{}}],[\"indexrange\",{\"_index\":14,\"name\":{\"15\":{}},\"comment\":{}}],[\"infix\",{\"_index\":198,\"name\":{\"239\":{}},\"comment\":{}}],[\"infixes\",{\"_index\":74,\"name\":{\"84\":{}},\"comment\":{}}],[\"init\",{\"_index\":54,\"name\":{\"63\":{}},\"comment\":{}}],[\"interleave\",{\"_index\":127,\"name\":{\"144\":{}},\"comment\":{}}],[\"intermix\",{\"_index\":126,\"name\":{\"143\":{}},\"comment\":{}}],[\"interpolate\",{\"_index\":125,\"name\":{\"142\":{}},\"comment\":{}}],[\"intersection\",{\"_index\":160,\"name\":{\"190\":{}},\"comment\":{}}],[\"intersperse\",{\"_index\":124,\"name\":{\"141\":{}},\"comment\":{}}],[\"ipermutations\",{\"_index\":79,\"name\":{\"89\":{}},\"comment\":{}}],[\"iprefixes\",{\"_index\":71,\"name\":{\"81\":{}},\"comment\":{}}],[\"is\",{\"_index\":6,\"name\":{\"7\":{}},\"comment\":{}}],[\"isdisjoint\",{\"_index\":157,\"name\":{\"186\":{}},\"comment\":{}}],[\"isempty\",{\"_index\":15,\"name\":{\"16\":{}},\"comment\":{}}],[\"isequal\",{\"_index\":50,\"name\":{\"59\":{}},\"comment\":{}}],[\"issorted\",{\"_index\":29,\"name\":{\"34\":{}},\"comment\":{}}],[\"isubsequences\",{\"_index\":77,\"name\":{\"87\":{}},\"comment\":{}}],[\"isuffixes\",{\"_index\":73,\"name\":{\"83\":{}},\"comment\":{}}],[\"isunique\",{\"_index\":156,\"name\":{\"185\":{}},\"comment\":{}}],[\"ivalues\",{\"_index\":10,\"name\":{\"11\":{}},\"comment\":{}}],[\"join\",{\"_index\":151,\"name\":{\"178\":{}},\"comment\":{}}],[\"keys\",{\"_index\":7,\"name\":{\"8\":{}},\"comment\":{}}],[\"last\",{\"_index\":55,\"name\":{\"64\":{}},\"comment\":{}}],[\"lastindexof\",{\"_index\":105,\"name\":{\"116\":{}},\"comment\":{}}],[\"left\",{\"_index\":203,\"name\":{\"245\":{}},\"comment\":{}}],[\"length\",{\"_index\":16,\"name\":{\"17\":{}},\"comment\":{}}],[\"lists\",{\"_index\":164,\"name\":{\"196\":{}},\"comment\":{}}],[\"map\",{\"_index\":112,\"name\":{\"123\":{},\"124\":{}},\"comment\":{}}],[\"mapfunction\",{\"_index\":172,\"name\":{\"208\":{}},\"comment\":{}}],[\"max\",{\"_index\":186,\"name\":{\"227\":{}},\"comment\":{}}],[\"maxentry\",{\"_index\":187,\"name\":{\"228\":{}},\"comment\":{}}],[\"maximum\",{\"_index\":38,\"name\":{\"47\":{}},\"comment\":{}}],[\"maximumentries\",{\"_index\":45,\"name\":{\"54\":{}},\"comment\":{}}],[\"maximumentry\",{\"_index\":39,\"name\":{\"48\":{}},\"comment\":{}}],[\"maximums\",{\"_index\":44,\"name\":{\"53\":{}},\"comment\":{}}],[\"middle\",{\"_index\":56,\"name\":{\"65\":{}},\"comment\":{}}],[\"min\",{\"_index\":184,\"name\":{\"225\":{}},\"comment\":{}}],[\"minentry\",{\"_index\":185,\"name\":{\"226\":{}},\"comment\":{}}],[\"minimum\",{\"_index\":36,\"name\":{\"45\":{}},\"comment\":{}}],[\"minimumentries\",{\"_index\":43,\"name\":{\"52\":{}},\"comment\":{}}],[\"minimumentry\",{\"_index\":37,\"name\":{\"46\":{}},\"comment\":{}}],[\"minimums\",{\"_index\":42,\"name\":{\"51\":{}},\"comment\":{}}],[\"movewithin\",{\"_index\":136,\"name\":{\"160\":{},\"161\":{}},\"comment\":{}}],[\"partialsort\",{\"_index\":34,\"name\":{\"41\":{},\"42\":{}},\"comment\":{}}],[\"partition\",{\"_index\":140,\"name\":{\"166\":{}},\"comment\":{}}],[\"partitionas\",{\"_index\":220,\"name\":{\"268\":{}},\"comment\":{}}],[\"partitioneach\",{\"_index\":141,\"name\":{\"167\":{}},\"comment\":{}}],[\"permutation\",{\"_index\":200,\"name\":{\"241\":{},\"242\":{}},\"comment\":{}}],[\"permutations\",{\"_index\":78,\"name\":{\"88\":{}},\"comment\":{}}],[\"permute\",{\"_index\":201,\"name\":{\"243\":{}},\"comment\":{}}],[\"pop\",{\"_index\":131,\"name\":{\"150\":{},\"151\":{}},\"comment\":{}}],[\"popback\",{\"_index\":213,\"name\":{\"257\":{},\"258\":{}},\"comment\":{}}],[\"popfront\",{\"_index\":214,\"name\":{\"259\":{},\"260\":{}},\"comment\":{}}],[\"prefix\",{\"_index\":196,\"name\":{\"237\":{}},\"comment\":{}}],[\"prefixes\",{\"_index\":70,\"name\":{\"80\":{}},\"comment\":{}}],[\"prepend\",{\"_index\":216,\"name\":{\"262\":{},\"264\":{}},\"comment\":{}}],[\"processfunction\",{\"_index\":170,\"name\":{\"204\":{}},\"comment\":{}}],[\"push\",{\"_index\":130,\"name\":{\"148\":{},\"149\":{}},\"comment\":{}}],[\"pushback\",{\"_index\":211,\"name\":{\"253\":{},\"255\":{}},\"comment\":{}}],[\"pushfront\",{\"_index\":215,\"name\":{\"261\":{},\"263\":{}},\"comment\":{}}],[\"randominfix\",{\"_index\":87,\"name\":{\"97\":{}},\"comment\":{}}],[\"randompermutation\",{\"_index\":89,\"name\":{\"99\":{},\"100\":{}},\"comment\":{}}],[\"randomprefix\",{\"_index\":85,\"name\":{\"95\":{}},\"comment\":{}}],[\"randomsubsequence\",{\"_index\":88,\"name\":{\"98\":{}},\"comment\":{}}],[\"randomsuffix\",{\"_index\":86,\"name\":{\"96\":{}},\"comment\":{}}],[\"randomvalue\",{\"_index\":84,\"name\":{\"94\":{}},\"comment\":{}}],[\"range\",{\"_index\":40,\"name\":{\"49\":{}},\"comment\":{}}],[\"rangedpartialsort\",{\"_index\":35,\"name\":{\"43\":{},\"44\":{}},\"comment\":{}}],[\"rangedsort\",{\"_index\":33,\"name\":{\"39\":{},\"40\":{}},\"comment\":{}}],[\"rangeentries\",{\"_index\":41,\"name\":{\"50\":{}},\"comment\":{}}],[\"readfunction\",{\"_index\":166,\"name\":{\"198\":{}},\"comment\":{}}],[\"reduce\",{\"_index\":113,\"name\":{\"125\":{}},\"comment\":{}}],[\"reducefunction\",{\"_index\":173,\"name\":{\"210\":{}},\"comment\":{}}],[\"reduceright\",{\"_index\":114,\"name\":{\"126\":{}},\"comment\":{}}],[\"reject\",{\"_index\":117,\"name\":{\"130\":{},\"131\":{}},\"comment\":{}}],[\"rejectat\",{\"_index\":118,\"name\":{\"132\":{}},\"comment\":{}}],[\"remove\",{\"_index\":27,\"name\":{\"31\":{},\"32\":{}},\"comment\":{}}],[\"removepath\",{\"_index\":28,\"name\":{\"33\":{}},\"comment\":{}}],[\"repeat\",{\"_index\":153,\"name\":{\"180\":{}},\"comment\":{}}],[\"resize\",{\"_index\":17,\"name\":{\"18\":{}},\"comment\":{}}],[\"reverse\",{\"_index\":154,\"name\":{\"181\":{},\"182\":{}},\"comment\":{}}],[\"right\",{\"_index\":204,\"name\":{\"246\":{}},\"comment\":{}}],[\"rotate\",{\"_index\":155,\"name\":{\"183\":{},\"184\":{}},\"comment\":{}}],[\"scanuntil\",{\"_index\":102,\"name\":{\"113\":{}},\"comment\":{}}],[\"scanuntilright\",{\"_index\":103,\"name\":{\"114\":{}},\"comment\":{}}],[\"scanwhile\",{\"_index\":100,\"name\":{\"111\":{}},\"comment\":{}}],[\"scanwhileright\",{\"_index\":101,\"name\":{\"112\":{}},\"comment\":{}}],[\"search\",{\"_index\":106,\"name\":{\"117\":{}},\"comment\":{}}],[\"searchadjacentduplicate\",{\"_index\":191,\"name\":{\"232\":{}},\"comment\":{}}],[\"searchadjacentduplicatevalue\",{\"_index\":63,\"name\":{\"73\":{}},\"comment\":{}}],[\"searchall\",{\"_index\":108,\"name\":{\"119\":{}},\"comment\":{}}],[\"searchinfix\",{\"_index\":80,\"name\":{\"90\":{}},\"comment\":{}}],[\"searchinfixall\",{\"_index\":82,\"name\":{\"92\":{}},\"comment\":{}}],[\"searchinfixright\",{\"_index\":81,\"name\":{\"91\":{}},\"comment\":{}}],[\"searchmaximumvalue\",{\"_index\":47,\"name\":{\"56\":{}},\"comment\":{}}],[\"searchmaximumvalues\",{\"_index\":49,\"name\":{\"58\":{}},\"comment\":{}}],[\"searchminimumvalue\",{\"_index\":46,\"name\":{\"55\":{}},\"comment\":{}}],[\"searchminimumvalues\",{\"_index\":48,\"name\":{\"57\":{}},\"comment\":{}}],[\"searchmismatch\",{\"_index\":192,\"name\":{\"233\":{}},\"comment\":{}}],[\"searchmismatchedvalue\",{\"_index\":64,\"name\":{\"74\":{}},\"comment\":{}}],[\"searchright\",{\"_index\":107,\"name\":{\"118\":{}},\"comment\":{}}],[\"searchsubsequence\",{\"_index\":83,\"name\":{\"93\":{}},\"comment\":{}}],[\"searchunsortedvalue\",{\"_index\":31,\"name\":{\"36\":{}},\"comment\":{}}],[\"searchvalue\",{\"_index\":60,\"name\":{\"70\":{}},\"comment\":{}}],[\"searchvalueall\",{\"_index\":62,\"name\":{\"72\":{}},\"comment\":{}}],[\"searchvalueright\",{\"_index\":61,\"name\":{\"71\":{}},\"comment\":{}}],[\"set\",{\"_index\":23,\"name\":{\"24\":{},\"25\":{}},\"comment\":{}}],[\"setpath\",{\"_index\":24,\"name\":{\"26\":{}},\"comment\":{}}],[\"shallowclone\",{\"_index\":4,\"name\":{\"5\":{}},\"comment\":{}}],[\"shift\",{\"_index\":132,\"name\":{\"152\":{},\"153\":{}},\"comment\":{}}],[\"shuffle\",{\"_index\":202,\"name\":{\"244\":{}},\"comment\":{}}],[\"size\",{\"_index\":180,\"name\":{\"221\":{}},\"comment\":{}}],[\"slice\",{\"_index\":57,\"name\":{\"66\":{},\"67\":{}},\"comment\":{}}],[\"some\",{\"_index\":110,\"name\":{\"121\":{}},\"comment\":{}}],[\"sort\",{\"_index\":32,\"name\":{\"37\":{},\"38\":{}},\"comment\":{}}],[\"splice\",{\"_index\":137,\"name\":{\"162\":{},\"163\":{}},\"comment\":{}}],[\"split\",{\"_index\":142,\"name\":{\"168\":{}},\"comment\":{}}],[\"splitat\",{\"_index\":143,\"name\":{\"169\":{}},\"comment\":{}}],[\"startswith\",{\"_index\":193,\"name\":{\"234\":{}},\"comment\":{}}],[\"subsequence\",{\"_index\":199,\"name\":{\"240\":{}},\"comment\":{}}],[\"subsequences\",{\"_index\":76,\"name\":{\"86\":{}},\"comment\":{}}],[\"suffix\",{\"_index\":197,\"name\":{\"238\":{}},\"comment\":{}}],[\"suffixes\",{\"_index\":72,\"name\":{\"82\":{}},\"comment\":{}}],[\"swap\",{\"_index\":25,\"name\":{\"27\":{},\"28\":{}},\"comment\":{}}],[\"swapfunction\",{\"_index\":175,\"name\":{\"214\":{}},\"comment\":{}}],[\"swapranges\",{\"_index\":26,\"name\":{\"29\":{},\"30\":{}},\"comment\":{}}],[\"symmetricdifference\",{\"_index\":162,\"name\":{\"192\":{}},\"comment\":{}}],[\"tail\",{\"_index\":53,\"name\":{\"62\":{}},\"comment\":{}}],[\"take\",{\"_index\":92,\"name\":{\"103\":{}},\"comment\":{}}],[\"takeright\",{\"_index\":93,\"name\":{\"104\":{}},\"comment\":{}}],[\"takewhile\",{\"_index\":94,\"name\":{\"105\":{}},\"comment\":{}}],[\"takewhileright\",{\"_index\":95,\"name\":{\"106\":{}},\"comment\":{}}],[\"testfunction\",{\"_index\":171,\"name\":{\"206\":{}},\"comment\":{}}],[\"toreversed\",{\"_index\":221,\"name\":{\"269\":{}},\"comment\":{}}],[\"tosorted\",{\"_index\":183,\"name\":{\"224\":{}},\"comment\":{}}],[\"tospliced\",{\"_index\":217,\"name\":{\"265\":{}},\"comment\":{}}],[\"union\",{\"_index\":159,\"name\":{\"188\":{},\"189\":{}},\"comment\":{}}],[\"unique\",{\"_index\":158,\"name\":{\"187\":{}},\"comment\":{}}],[\"unshift\",{\"_index\":133,\"name\":{\"154\":{},\"155\":{}},\"comment\":{}}],[\"value\",{\"_index\":195,\"name\":{\"236\":{}},\"comment\":{}}],[\"values\",{\"_index\":9,\"name\":{\"10\":{}},\"comment\":{}}],[\"with\",{\"_index\":182,\"name\":{\"223\":{}},\"comment\":{}}],[\"zip\",{\"_index\":128,\"name\":{\"145\":{}},\"comment\":{}}]],\"pipeline\":[]}}"); \ No newline at end of file diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 000000000..18b4f8fee --- /dev/null +++ b/assets/style.css @@ -0,0 +1,1367 @@ +:root { + /* Light */ + --light-color-background: #f2f4f8; + --light-color-background-secondary: #eff0f1; + --light-color-warning-text: #222; + --light-color-background-warning: #e6e600; + --light-color-icon-background: var(--light-color-background); + --light-color-accent: #c5c7c9; + --light-color-active-menu-item: var(--light-color-accent); + --light-color-text: #222; + --light-color-text-aside: #6e6e6e; + --light-color-link: #1f70c2; + + --light-color-ts-project: #b111c9; + --light-color-ts-module: var(--light-color-ts-project); + --light-color-ts-namespace: var(--light-color-ts-project); + --light-color-ts-enum: #7e6f15; + --light-color-ts-enum-member: var(--light-color-ts-enum); + --light-color-ts-variable: #4760ec; + --light-color-ts-function: #572be7; + --light-color-ts-class: #1f70c2; + --light-color-ts-interface: #108024; + --light-color-ts-constructor: var(--light-color-ts-class); + --light-color-ts-property: var(--light-color-ts-variable); + --light-color-ts-method: var(--light-color-ts-function); + --light-color-ts-call-signature: var(--light-color-ts-method); + --light-color-ts-index-signature: var(--light-color-ts-property); + --light-color-ts-constructor-signature: var(--light-color-ts-constructor); + --light-color-ts-parameter: var(--light-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --light-color-ts-type-parameter: var(--light-color-ts-type-alias); + --light-color-ts-accessor: var(--light-color-ts-property); + --light-color-ts-get-signature: var(--light-color-ts-accessor); + --light-color-ts-set-signature: var(--light-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --light-color-ts-type-alias: #d51270; + /* reference not included as links will be colored with the kind that it points to */ + + --light-external-icon: url("data:image/svg+xml;utf8,"); + --light-color-scheme: light; + + /* Dark */ + --dark-color-background: #2b2e33; + --dark-color-background-secondary: #1e2024; + --dark-color-background-warning: #bebe00; + --dark-color-warning-text: #222; + --dark-color-icon-background: var(--dark-color-background-secondary); + --dark-color-accent: #9096a2; + --dark-color-active-menu-item: #5d5d6a; + --dark-color-text: #f5f5f5; + --dark-color-text-aside: #dddddd; + --dark-color-link: #00aff4; + + --dark-color-ts-project: #e358ff; + --dark-color-ts-module: var(--dark-color-ts-project); + --dark-color-ts-namespace: var(--dark-color-ts-project); + --dark-color-ts-enum: #f4d93e; + --dark-color-ts-enum-member: var(--dark-color-ts-enum); + --dark-color-ts-variable: #798dff; + --dark-color-ts-function: #a280ff; + --dark-color-ts-class: #8ac4ff; + --dark-color-ts-interface: #6cff87; + --dark-color-ts-constructor: var(--dark-color-ts-class); + --dark-color-ts-property: var(--dark-color-ts-variable); + --dark-color-ts-method: var(--dark-color-ts-function); + --dark-color-ts-call-signature: var(--dark-color-ts-method); + --dark-color-ts-index-signature: var(--dark-color-ts-property); + --dark-color-ts-constructor-signature: var(--dark-color-ts-constructor); + --dark-color-ts-parameter: var(--dark-color-ts-variable); + /* type literal not included as links will never be generated to it */ + --dark-color-ts-type-parameter: var(--dark-color-ts-type-alias); + --dark-color-ts-accessor: var(--dark-color-ts-property); + --dark-color-ts-get-signature: var(--dark-color-ts-accessor); + --dark-color-ts-set-signature: var(--dark-color-ts-accessor); + /* object literal not included as it is not used and will be removed in 0.25 */ + --dark-color-ts-type-alias: #ff6492; + /* reference not included as links will be colored with the kind that it points to */ + + --dark-external-icon: url("data:image/svg+xml;utf8,"); + --dark-color-scheme: dark; +} + +@media (prefers-color-scheme: light) { + :root { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); + } +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); + } +} + +html { + color-scheme: var(--color-scheme); +} + +body { + margin: 0; +} + +:root[data-theme="light"] { + --color-background: var(--light-color-background); + --color-background-secondary: var(--light-color-background-secondary); + --color-background-warning: var(--light-color-background-warning); + --color-warning-text: var(--light-color-warning-text); + --color-icon-background: var(--light-color-icon-background); + --color-accent: var(--light-color-accent); + --color-active-menu-item: var(--light-color-active-menu-item); + --color-text: var(--light-color-text); + --color-text-aside: var(--light-color-text-aside); + --color-link: var(--light-color-link); + + --color-ts-module: var(--light-color-ts-module); + --color-ts-namespace: var(--light-color-ts-namespace); + --color-ts-enum: var(--light-color-ts-enum); + --color-ts-enum-member: var(--light-color-ts-enum-member); + --color-ts-variable: var(--light-color-ts-variable); + --color-ts-function: var(--light-color-ts-function); + --color-ts-class: var(--light-color-ts-class); + --color-ts-interface: var(--light-color-ts-interface); + --color-ts-constructor: var(--light-color-ts-constructor); + --color-ts-property: var(--light-color-ts-property); + --color-ts-method: var(--light-color-ts-method); + --color-ts-call-signature: var(--light-color-ts-call-signature); + --color-ts-index-signature: var(--light-color-ts-index-signature); + --color-ts-constructor-signature: var( + --light-color-ts-constructor-signature + ); + --color-ts-parameter: var(--light-color-ts-parameter); + --color-ts-type-parameter: var(--light-color-ts-type-parameter); + --color-ts-accessor: var(--light-color-ts-accessor); + --color-ts-get-signature: var(--light-color-ts-get-signature); + --color-ts-set-signature: var(--light-color-ts-set-signature); + --color-ts-type-alias: var(--light-color-ts-type-alias); + + --external-icon: var(--light-external-icon); + --color-scheme: var(--light-color-scheme); +} + +:root[data-theme="dark"] { + --color-background: var(--dark-color-background); + --color-background-secondary: var(--dark-color-background-secondary); + --color-background-warning: var(--dark-color-background-warning); + --color-warning-text: var(--dark-color-warning-text); + --color-icon-background: var(--dark-color-icon-background); + --color-accent: var(--dark-color-accent); + --color-active-menu-item: var(--dark-color-active-menu-item); + --color-text: var(--dark-color-text); + --color-text-aside: var(--dark-color-text-aside); + --color-link: var(--dark-color-link); + + --color-ts-module: var(--dark-color-ts-module); + --color-ts-namespace: var(--dark-color-ts-namespace); + --color-ts-enum: var(--dark-color-ts-enum); + --color-ts-enum-member: var(--dark-color-ts-enum-member); + --color-ts-variable: var(--dark-color-ts-variable); + --color-ts-function: var(--dark-color-ts-function); + --color-ts-class: var(--dark-color-ts-class); + --color-ts-interface: var(--dark-color-ts-interface); + --color-ts-constructor: var(--dark-color-ts-constructor); + --color-ts-property: var(--dark-color-ts-property); + --color-ts-method: var(--dark-color-ts-method); + --color-ts-call-signature: var(--dark-color-ts-call-signature); + --color-ts-index-signature: var(--dark-color-ts-index-signature); + --color-ts-constructor-signature: var( + --dark-color-ts-constructor-signature + ); + --color-ts-parameter: var(--dark-color-ts-parameter); + --color-ts-type-parameter: var(--dark-color-ts-type-parameter); + --color-ts-accessor: var(--dark-color-ts-accessor); + --color-ts-get-signature: var(--dark-color-ts-get-signature); + --color-ts-set-signature: var(--dark-color-ts-set-signature); + --color-ts-type-alias: var(--dark-color-ts-type-alias); + + --external-icon: var(--dark-external-icon); + --color-scheme: var(--dark-color-scheme); +} + +.always-visible, +.always-visible .tsd-signatures { + display: inherit !important; +} + +h1, +h2, +h3, +h4, +h5, +h6 { + line-height: 1.2; +} + +h1 > a, +h2 > a, +h3 > a, +h4 > a, +h5 > a, +h6 > a { + text-decoration: none; + color: var(--color-text); +} + +h1 { + font-size: 1.875rem; + margin: 0.67rem 0; +} + +h2 { + font-size: 1.5rem; + margin: 0.83rem 0; +} + +h3 { + font-size: 1.25rem; + margin: 1rem 0; +} + +h4 { + font-size: 1.05rem; + margin: 1.33rem 0; +} + +h5 { + font-size: 1rem; + margin: 1.5rem 0; +} + +h6 { + font-size: 0.875rem; + margin: 2.33rem 0; +} + +.uppercase { + text-transform: uppercase; +} + +dl, +menu, +ol, +ul { + margin: 1em 0; +} + +dd { + margin: 0 0 0 40px; +} + +.container { + max-width: 1700px; + padding: 0 2rem; +} + +/* Footer */ +.tsd-generator { + border-top: 1px solid var(--color-accent); + padding-top: 1rem; + padding-bottom: 1rem; + max-height: 3.5rem; +} + +.tsd-generator > p { + margin-top: 0; + margin-bottom: 0; + padding: 0 1rem; +} + +.container-main { + margin: 0 auto; + /* toolbar, footer, margin */ + min-height: calc(100vh - 41px - 56px - 4rem); +} + +@keyframes fade-in { + from { + opacity: 0; + } + to { + opacity: 1; + } +} +@keyframes fade-out { + from { + opacity: 1; + visibility: visible; + } + to { + opacity: 0; + } +} +@keyframes fade-in-delayed { + 0% { + opacity: 0; + } + 33% { + opacity: 0; + } + 100% { + opacity: 1; + } +} +@keyframes fade-out-delayed { + 0% { + opacity: 1; + visibility: visible; + } + 66% { + opacity: 0; + } + 100% { + opacity: 0; + } +} +@keyframes pop-in-from-right { + from { + transform: translate(100%, 0); + } + to { + transform: translate(0, 0); + } +} +@keyframes pop-out-to-right { + from { + transform: translate(0, 0); + visibility: visible; + } + to { + transform: translate(100%, 0); + } +} +body { + background: var(--color-background); + font-family: "Segoe UI", sans-serif; + font-size: 16px; + color: var(--color-text); +} + +a { + color: var(--color-link); + text-decoration: none; +} +a:hover { + text-decoration: underline; +} +a.external[target="_blank"] { + background-image: var(--external-icon); + background-position: top 3px right; + background-repeat: no-repeat; + padding-right: 13px; +} + +code, +pre { + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + padding: 0.2em; + margin: 0; + font-size: 0.875rem; + border-radius: 0.8em; +} + +pre { + position: relative; + white-space: pre; + white-space: pre-wrap; + word-wrap: break-word; + padding: 10px; + border: 1px solid var(--color-accent); +} +pre code { + padding: 0; + font-size: 100%; +} +pre > button { + position: absolute; + top: 10px; + right: 10px; + opacity: 0; + transition: opacity 0.1s; + box-sizing: border-box; +} +pre:hover > button, +pre > button.visible { + opacity: 1; +} + +blockquote { + margin: 1em 0; + padding-left: 1em; + border-left: 4px solid gray; +} + +.tsd-typography { + line-height: 1.333em; +} +.tsd-typography ul { + list-style: square; + padding: 0 0 0 20px; + margin: 0; +} +.tsd-typography h4, +.tsd-typography .tsd-index-panel h3, +.tsd-index-panel .tsd-typography h3, +.tsd-typography h5, +.tsd-typography h6 { + font-size: 1em; + margin: 0; +} +.tsd-typography h5, +.tsd-typography h6 { + font-weight: normal; +} +.tsd-typography p, +.tsd-typography ul, +.tsd-typography ol { + margin: 1em 0; +} + +.tsd-breadcrumb { + margin: 0; + padding: 0; + color: var(--color-text-aside); +} +.tsd-breadcrumb a { + color: var(--color-text-aside); + text-decoration: none; +} +.tsd-breadcrumb a:hover { + text-decoration: underline; +} +.tsd-breadcrumb li { + display: inline; +} +.tsd-breadcrumb li:after { + content: " / "; +} + +.tsd-comment-tags { + display: flex; + flex-direction: column; +} +dl.tsd-comment-tag-group { + display: flex; + align-items: center; + overflow: hidden; + margin: 0.5em 0; +} +dl.tsd-comment-tag-group dt { + display: flex; + margin-right: 0.5em; + font-size: 0.875em; + font-weight: normal; +} +dl.tsd-comment-tag-group dd { + margin: 0; +} +code.tsd-tag { + padding: 0.25em 0.4em; + border: 0.1em solid var(--color-accent); + margin-right: 0.25em; + font-size: 70%; +} +h1 code.tsd-tag:first-of-type { + margin-left: 0.25em; +} + +dl.tsd-comment-tag-group dd:before, +dl.tsd-comment-tag-group dd:after { + content: " "; +} +dl.tsd-comment-tag-group dd pre, +dl.tsd-comment-tag-group dd:after { + clear: both; +} +dl.tsd-comment-tag-group p { + margin: 0; +} + +.tsd-panel.tsd-comment .lead { + font-size: 1.1em; + line-height: 1.333em; + margin-bottom: 2em; +} +.tsd-panel.tsd-comment .lead:last-child { + margin-bottom: 0; +} + +.tsd-filter-visibility h4 { + font-size: 1rem; + padding-top: 0.75rem; + padding-bottom: 0.5rem; + margin: 0; +} +.tsd-filter-item:not(:last-child) { + margin-bottom: 0.5rem; +} +.tsd-filter-input { + display: flex; + width: fit-content; + width: -moz-fit-content; + align-items: center; + user-select: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + cursor: pointer; +} +.tsd-filter-input input[type="checkbox"] { + cursor: pointer; + position: absolute; + width: 1.5em; + height: 1.5em; + opacity: 0; +} +.tsd-filter-input input[type="checkbox"]:disabled { + pointer-events: none; +} +.tsd-filter-input svg { + cursor: pointer; + width: 1.5em; + height: 1.5em; + margin-right: 0.5em; + border-radius: 0.33em; + /* Leaving this at full opacity breaks event listeners on Firefox. + Don't remove unless you know what you're doing. */ + opacity: 0.99; +} +.tsd-filter-input input[type="checkbox"]:focus + svg { + transform: scale(0.95); +} +.tsd-filter-input input[type="checkbox"]:focus:not(:focus-visible) + svg { + transform: scale(1); +} +.tsd-checkbox-background { + fill: var(--color-accent); +} +input[type="checkbox"]:checked ~ svg .tsd-checkbox-checkmark { + stroke: var(--color-text); +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-background { + fill: var(--color-background); + stroke: var(--color-accent); + stroke-width: 0.25rem; +} +.tsd-filter-input input:disabled ~ svg > .tsd-checkbox-checkmark { + stroke: var(--color-accent); +} + +.tsd-theme-toggle { + padding-top: 0.75rem; +} +.tsd-theme-toggle > h4 { + display: inline; + vertical-align: middle; + margin-right: 0.75rem; +} + +.tsd-hierarchy { + list-style: square; + margin: 0; +} +.tsd-hierarchy .target { + font-weight: bold; +} + +.tsd-panel-group.tsd-index-group { + margin-bottom: 0; +} +.tsd-index-panel .tsd-index-list { + list-style: none; + line-height: 1.333em; + margin: 0; + padding: 0.25rem 0 0 0; + overflow: hidden; + display: grid; + grid-template-columns: repeat(3, 1fr); + column-gap: 1rem; + grid-template-rows: auto; +} +@media (max-width: 1024px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(2, 1fr); + } +} +@media (max-width: 768px) { + .tsd-index-panel .tsd-index-list { + grid-template-columns: repeat(1, 1fr); + } +} +.tsd-index-panel .tsd-index-list li { + -webkit-page-break-inside: avoid; + -moz-page-break-inside: avoid; + -ms-page-break-inside: avoid; + -o-page-break-inside: avoid; + page-break-inside: avoid; +} + +.tsd-flag { + display: inline-block; + padding: 0.25em 0.4em; + border-radius: 4px; + color: var(--color-comment-tag-text); + background-color: var(--color-comment-tag); + text-indent: 0; + font-size: 75%; + line-height: 1; + font-weight: normal; +} + +.tsd-anchor { + position: relative; + top: -100px; +} + +.tsd-member { + position: relative; +} +.tsd-member .tsd-anchor + h3 { + display: flex; + align-items: center; + margin-top: 0; + margin-bottom: 0; + border-bottom: none; +} + +.tsd-navigation.settings { + margin: 1rem 0; +} +.tsd-navigation > a, +.tsd-navigation .tsd-accordion-summary { + width: calc(100% - 0.5rem); +} +.tsd-navigation a, +.tsd-navigation summary > span, +.tsd-page-navigation a { + display: inline-flex; + align-items: center; + padding: 0.25rem; + color: var(--color-text); + text-decoration: none; + box-sizing: border-box; +} +.tsd-navigation a.current, +.tsd-page-navigation a.current { + background: var(--color-active-menu-item); +} +.tsd-navigation a:hover, +.tsd-page-navigation a:hover { + text-decoration: underline; +} +.tsd-navigation ul, +.tsd-page-navigation ul { + margin-top: 0; + margin-bottom: 0; + padding: 0; + list-style: none; +} +.tsd-navigation li, +.tsd-page-navigation li { + padding: 0; + max-width: 100%; +} +.tsd-nested-navigation { + margin-left: 3rem; +} +.tsd-nested-navigation > li > details { + margin-left: -1.5rem; +} +.tsd-small-nested-navigation { + margin-left: 1.5rem; +} +.tsd-small-nested-navigation > li > details { + margin-left: -1.5rem; +} + +.tsd-nested-navigation > li > a, +.tsd-nested-navigation > li > span { + width: calc(100% - 1.75rem - 0.5rem); +} + +.tsd-page-navigation ul { + padding-left: 1.75rem; +} + +#tsd-sidebar-links a { + margin-top: 0; + margin-bottom: 0.5rem; + line-height: 1.25rem; +} +#tsd-sidebar-links a:last-of-type { + margin-bottom: 0; +} + +a.tsd-index-link { + padding: 0.25rem 0 !important; + font-size: 1rem; + line-height: 1.25rem; + display: inline-flex; + align-items: center; + color: var(--color-text); +} +.tsd-accordion-summary { + list-style-type: none; /* hide marker on non-safari */ + outline: none; /* broken on safari, so just hide it */ +} +.tsd-accordion-summary::-webkit-details-marker { + display: none; /* hide marker on safari */ +} +.tsd-accordion-summary, +.tsd-accordion-summary a { + user-select: none; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + + cursor: pointer; +} +.tsd-accordion-summary a { + width: calc(100% - 1.5rem); +} +.tsd-accordion-summary > * { + margin-top: 0; + margin-bottom: 0; + padding-top: 0; + padding-bottom: 0; +} +.tsd-index-accordion .tsd-accordion-summary > svg { + margin-left: 0.25rem; +} +.tsd-index-content > :not(:first-child) { + margin-top: 0.75rem; +} +.tsd-index-heading { + margin-top: 1.5rem; + margin-bottom: 0.75rem; +} + +.tsd-kind-icon { + margin-right: 0.5rem; + width: 1.25rem; + height: 1.25rem; + min-width: 1.25rem; + min-height: 1.25rem; +} +.tsd-kind-icon path { + transform-origin: center; + transform: scale(1.1); +} +.tsd-signature > .tsd-kind-icon { + margin-right: 0.8rem; +} + +.tsd-panel { + margin-bottom: 2.5rem; +} +.tsd-panel.tsd-member { + margin-bottom: 4rem; +} +.tsd-panel:empty { + display: none; +} +.tsd-panel > h1, +.tsd-panel > h2, +.tsd-panel > h3 { + margin: 1.5rem -1.5rem 0.75rem -1.5rem; + padding: 0 1.5rem 0.75rem 1.5rem; +} +.tsd-panel > h1.tsd-before-signature, +.tsd-panel > h2.tsd-before-signature, +.tsd-panel > h3.tsd-before-signature { + margin-bottom: 0; + border-bottom: none; +} + +.tsd-panel-group { + margin: 4rem 0; +} +.tsd-panel-group.tsd-index-group { + margin: 2rem 0; +} +.tsd-panel-group.tsd-index-group details { + margin: 2rem 0; +} + +#tsd-search { + transition: background-color 0.2s; +} +#tsd-search .title { + position: relative; + z-index: 2; +} +#tsd-search .field { + position: absolute; + left: 0; + top: 0; + right: 2.5rem; + height: 100%; +} +#tsd-search .field input { + box-sizing: border-box; + position: relative; + top: -50px; + z-index: 1; + width: 100%; + padding: 0 10px; + opacity: 0; + outline: 0; + border: 0; + background: transparent; + color: var(--color-text); +} +#tsd-search .field label { + position: absolute; + overflow: hidden; + right: -40px; +} +#tsd-search .field input, +#tsd-search .title, +#tsd-toolbar-links a { + transition: opacity 0.2s; +} +#tsd-search .results { + position: absolute; + visibility: hidden; + top: 40px; + width: 100%; + margin: 0; + padding: 0; + list-style: none; + box-shadow: 0 0 4px rgba(0, 0, 0, 0.25); +} +#tsd-search .results li { + padding: 0 10px; + background-color: var(--color-background); +} +#tsd-search .results li:nth-child(even) { + background-color: var(--color-background-secondary); +} +#tsd-search .results li.state { + display: none; +} +#tsd-search .results li.current, +#tsd-search .results li:hover { + background-color: var(--color-accent); +} +#tsd-search .results a { + display: block; +} +#tsd-search .results a:before { + top: 10px; +} +#tsd-search .results span.parent { + color: var(--color-text-aside); + font-weight: normal; +} +#tsd-search.has-focus { + background-color: var(--color-accent); +} +#tsd-search.has-focus .field input { + top: 0; + opacity: 1; +} +#tsd-search.has-focus .title, +#tsd-search.has-focus #tsd-toolbar-links a { + z-index: 0; + opacity: 0; +} +#tsd-search.has-focus .results { + visibility: visible; +} +#tsd-search.loading .results li.state.loading { + display: block; +} +#tsd-search.failure .results li.state.failure { + display: block; +} + +#tsd-toolbar-links { + position: absolute; + top: 0; + right: 2rem; + height: 100%; + display: flex; + align-items: center; + justify-content: flex-end; +} +#tsd-toolbar-links a { + margin-left: 1.5rem; +} +#tsd-toolbar-links a:hover { + text-decoration: underline; +} + +.tsd-signature { + margin: 0 0 1rem 0; + padding: 1rem 0.5rem; + border: 1px solid var(--color-accent); + font-family: Menlo, Monaco, Consolas, "Courier New", monospace; + font-size: 14px; + overflow-x: auto; +} + +.tsd-signature-symbol { + color: var(--color-text-aside); + font-weight: normal; +} + +.tsd-signature-type { + font-style: italic; + font-weight: normal; +} + +.tsd-signatures { + padding: 0; + margin: 0 0 1em 0; + list-style-type: none; +} +.tsd-signatures .tsd-signature { + margin: 0; + border-color: var(--color-accent); + border-width: 1px 0; + transition: background-color 0.1s; +} +.tsd-description .tsd-signatures .tsd-signature { + border-width: 1px; +} + +ul.tsd-parameter-list, +ul.tsd-type-parameter-list { + list-style: square; + margin: 0; + padding-left: 20px; +} +ul.tsd-parameter-list > li.tsd-parameter-signature, +ul.tsd-type-parameter-list > li.tsd-parameter-signature { + list-style: none; + margin-left: -20px; +} +ul.tsd-parameter-list h5, +ul.tsd-type-parameter-list h5 { + font-size: 16px; + margin: 1em 0 0.5em 0; +} +.tsd-sources { + margin-top: 1rem; + font-size: 0.875em; +} +.tsd-sources a { + color: var(--color-text-aside); + text-decoration: underline; +} +.tsd-sources ul { + list-style: none; + padding: 0; +} + +.tsd-page-toolbar { + position: sticky; + z-index: 1; + top: 0; + left: 0; + width: 100%; + color: var(--color-text); + background: var(--color-background-secondary); + border-bottom: 1px var(--color-accent) solid; + transition: transform 0.3s ease-in-out; +} +.tsd-page-toolbar a { + color: var(--color-text); + text-decoration: none; +} +.tsd-page-toolbar a.title { + font-weight: bold; +} +.tsd-page-toolbar a.title:hover { + text-decoration: underline; +} +.tsd-page-toolbar .tsd-toolbar-contents { + display: flex; + justify-content: space-between; + height: 2.5rem; + margin: 0 auto; +} +.tsd-page-toolbar .table-cell { + position: relative; + white-space: nowrap; + line-height: 40px; +} +.tsd-page-toolbar .table-cell:first-child { + width: 100%; +} +.tsd-page-toolbar .tsd-toolbar-icon { + box-sizing: border-box; + line-height: 0; + padding: 12px 0; +} + +.tsd-widget { + display: inline-block; + overflow: hidden; + opacity: 0.8; + height: 40px; + transition: opacity 0.1s, background-color 0.2s; + vertical-align: bottom; + cursor: pointer; +} +.tsd-widget:hover { + opacity: 0.9; +} +.tsd-widget.active { + opacity: 1; + background-color: var(--color-accent); +} +.tsd-widget.no-caption { + width: 40px; +} +.tsd-widget.no-caption:before { + margin: 0; +} + +.tsd-widget.options, +.tsd-widget.menu { + display: none; +} +input[type="checkbox"] + .tsd-widget:before { + background-position: -120px 0; +} +input[type="checkbox"]:checked + .tsd-widget:before { + background-position: -160px 0; +} + +img { + max-width: 100%; +} + +.tsd-anchor-icon { + display: inline-flex; + align-items: center; + margin-left: 0.5rem; + vertical-align: middle; + color: var(--color-text); +} + +.tsd-anchor-icon svg { + width: 1em; + height: 1em; + visibility: hidden; +} + +.tsd-anchor-link:hover > .tsd-anchor-icon svg { + visibility: visible; +} + +.deprecated { + text-decoration: line-through; +} + +.warning { + padding: 1rem; + color: var(--color-warning-text); + background: var(--color-background-warning); +} + +.tsd-kind-project { + color: var(--color-ts-project); +} +.tsd-kind-module { + color: var(--color-ts-module); +} +.tsd-kind-namespace { + color: var(--color-ts-namespace); +} +.tsd-kind-enum { + color: var(--color-ts-enum); +} +.tsd-kind-enum-member { + color: var(--color-ts-enum-member); +} +.tsd-kind-variable { + color: var(--color-ts-variable); +} +.tsd-kind-function { + color: var(--color-ts-function); +} +.tsd-kind-class { + color: var(--color-ts-class); +} +.tsd-kind-interface { + color: var(--color-ts-interface); +} +.tsd-kind-constructor { + color: var(--color-ts-constructor); +} +.tsd-kind-property { + color: var(--color-ts-property); +} +.tsd-kind-method { + color: var(--color-ts-method); +} +.tsd-kind-call-signature { + color: var(--color-ts-call-signature); +} +.tsd-kind-index-signature { + color: var(--color-ts-index-signature); +} +.tsd-kind-constructor-signature { + color: var(--color-ts-constructor-signature); +} +.tsd-kind-parameter { + color: var(--color-ts-parameter); +} +.tsd-kind-type-literal { + color: var(--color-ts-type-literal); +} +.tsd-kind-type-parameter { + color: var(--color-ts-type-parameter); +} +.tsd-kind-accessor { + color: var(--color-ts-accessor); +} +.tsd-kind-get-signature { + color: var(--color-ts-get-signature); +} +.tsd-kind-set-signature { + color: var(--color-ts-set-signature); +} +.tsd-kind-type-alias { + color: var(--color-ts-type-alias); +} + +/* if we have a kind icon, don't color the text by kind */ +.tsd-kind-icon ~ span { + color: var(--color-text); +} + +* { + scrollbar-width: thin; + scrollbar-color: var(--color-accent) var(--color-icon-background); +} + +*::-webkit-scrollbar { + width: 0.75rem; +} + +*::-webkit-scrollbar-track { + background: var(--color-icon-background); +} + +*::-webkit-scrollbar-thumb { + background-color: var(--color-accent); + border-radius: 999rem; + border: 0.25rem solid var(--color-icon-background); +} + +/* mobile */ +@media (max-width: 769px) { + .tsd-widget.options, + .tsd-widget.menu { + display: inline-block; + } + + .container-main { + display: flex; + } + html .col-content { + float: none; + max-width: 100%; + width: 100%; + } + html .col-sidebar { + position: fixed !important; + overflow-y: auto; + -webkit-overflow-scrolling: touch; + z-index: 1024; + top: 0 !important; + bottom: 0 !important; + left: auto !important; + right: 0 !important; + padding: 1.5rem 1.5rem 0 0; + width: 75vw; + visibility: hidden; + background-color: var(--color-background); + transform: translate(100%, 0); + } + html .col-sidebar > *:last-child { + padding-bottom: 20px; + } + html .overlay { + content: ""; + display: block; + position: fixed; + z-index: 1023; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.75); + visibility: hidden; + } + + .to-has-menu .overlay { + animation: fade-in 0.4s; + } + + .to-has-menu .col-sidebar { + animation: pop-in-from-right 0.4s; + } + + .from-has-menu .overlay { + animation: fade-out 0.4s; + } + + .from-has-menu .col-sidebar { + animation: pop-out-to-right 0.4s; + } + + .has-menu body { + overflow: hidden; + } + .has-menu .overlay { + visibility: visible; + } + .has-menu .col-sidebar { + visibility: visible; + transform: translate(0, 0); + display: flex; + flex-direction: column; + gap: 1.5rem; + max-height: 100vh; + padding: 1rem 2rem; + } + .has-menu .tsd-navigation { + max-height: 100%; + } +} + +/* one sidebar */ +@media (min-width: 770px) { + .container-main { + display: grid; + grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); + grid-template-areas: "sidebar content"; + margin: 2rem auto; + } + + .col-sidebar { + grid-area: sidebar; + } + .col-content { + grid-area: content; + padding: 0 1rem; + } +} +@media (min-width: 770px) and (max-width: 1399px) { + .col-sidebar { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + padding-top: 1rem; + } + .site-menu { + margin-top: 1rem; + } +} + +/* two sidebars */ +@media (min-width: 1200px) { + .container-main { + grid-template-columns: minmax(0, 1fr) minmax(0, 2.5fr) minmax(0, 20rem); + grid-template-areas: "sidebar content toc"; + } + + .col-sidebar { + display: contents; + } + + .page-menu { + grid-area: toc; + padding-left: 1rem; + } + .site-menu { + grid-area: sidebar; + } + + .site-menu { + margin-top: 1rem 0; + } + + .page-menu, + .site-menu { + max-height: calc(100vh - 2rem - 42px); + overflow: auto; + position: sticky; + top: 42px; + } +} diff --git a/functions/adjacentCombine.html b/functions/adjacentCombine.html new file mode 100644 index 000000000..474c6720d --- /dev/null +++ b/functions/adjacentCombine.html @@ -0,0 +1,333 @@ +adjacentCombine | extra-array
+
+ +
+
+
+
+ +

Function adjacentCombine

+
+
    + +
  • +

    Combine adjacent values of an array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CombineFunction<T>
      +

      combine function (u, v)

      +
      +
    • +
    • +
      acc: T
      +

      initial value

      +
      +
    +

    Returns T[]

    [fc(acc, v₀), fc(v₀, v₁)...] | vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/adjacentCombine_.html b/functions/adjacentCombine_.html new file mode 100644 index 000000000..a7aed1dc6 --- /dev/null +++ b/functions/adjacentCombine_.html @@ -0,0 +1,333 @@ +adjacentCombine$ | extra-array
+
+ +
+
+
+
+ +

Function adjacentCombine$

+
+
    + +
  • +

    Combine adjacent values of an array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      fc: CombineFunction<T>
      +

      combine function (u, v)

      +
      +
    • +
    • +
      acc: T
      +

      initial value

      +
      +
    +

    Returns T[]

    x = [fc(acc, v₀), fc(v₀, v₁)...] | vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/cartesianProduct.html b/functions/cartesianProduct.html new file mode 100644 index 000000000..9bc1a499b --- /dev/null +++ b/functions/cartesianProduct.html @@ -0,0 +1,330 @@ +cartesianProduct | extra-array
+
+ +
+
+
+
+ +

Function cartesianProduct

+
+
    + +
  • +

    Obtain cartesian product of arrays.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      xs: T[][]
      +

      arrays

      +
      +
    • +
    • +
      fm: MapFunction<T[], U | T[]> = null
      +

      map function (vs, i)

      +
      +
    +

    Returns (T[] | U)[]

    x₀ × x₁ × ... = {[v₀, v₁, ...] | v₀ ∈ x₀, v₁ ∈ x₁, ...] }

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/chunk.html b/functions/chunk.html new file mode 100644 index 000000000..562b87a13 --- /dev/null +++ b/functions/chunk.html @@ -0,0 +1,333 @@ +chunk | extra-array
+
+ +
+
+
+
+ +

Function chunk

+
+
    + +
  • +

    Break array into chunks of given size.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 1
      +

      chunk size [1]

      +
      +
    • +
    • +
      s: number = n
      +

      chunk step [n]

      +
      +
    +

    Returns T[][]

    x[0..n] ⧺ x[s..s+n] ⧺ x[2s..2s+n] ⧺ ...

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/clear_.html b/functions/clear_.html new file mode 100644 index 000000000..35c06d2c6 --- /dev/null +++ b/functions/clear_.html @@ -0,0 +1,323 @@ +clear$ | extra-array
+
+ +
+
+
+
+ +

Function clear$

+
+
    + +
  • +

    Remove all elements from an array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    +

    Returns T[]

    cleared x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/compare.html b/functions/compare.html new file mode 100644 index 000000000..64dccdeb3 --- /dev/null +++ b/functions/compare.html @@ -0,0 +1,340 @@ +compare | extra-array
+
+ +
+
+
+
+ +

Function compare

+
+
    + +
  • +

    Compare two arrays (lexicographically).

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    x<y: -ve, x=y: 0, x>y: +ve

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/concat.html b/functions/concat.html new file mode 100644 index 000000000..dd33483dc --- /dev/null +++ b/functions/concat.html @@ -0,0 +1,323 @@ +concat | extra-array
+
+ +
+
+
+
+ +

Function concat

+
+
    + +
  • +

    Append values from arrays.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      Rest ...xs: T[][]
      +

      arrays

      +
      +
    +

    Returns T[]

    x₀ ⧺ x₁ ⧺ ... | [x₀, x₁, ...] = xs

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/concat_.html b/functions/concat_.html new file mode 100644 index 000000000..2450be351 --- /dev/null +++ b/functions/concat_.html @@ -0,0 +1,328 @@ +concat$ | extra-array
+
+ +
+
+
+
+ +

Function concat$

+
+
    + +
  • +

    Append values from arrays!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      Rest ...ys: Iterable<T>[]
      +

      arrays to append

      +
      +
    +

    Returns T[]

    x = x ⧺ y₀ ⧺ y₁ ⧺ ...] | [y₀, y₁, ...] = ys

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/copy.html b/functions/copy.html new file mode 100644 index 000000000..ccc9f3027 --- /dev/null +++ b/functions/copy.html @@ -0,0 +1,343 @@ +copy | extra-array
+
+ +
+
+
+
+ +

Function copy

+
+
    + +
  • +

    Copy part of array to another.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      target array

      +
      +
    • +
    • +
      y: T[]
      +

      source array

      +
      +
    • +
    • +
      j: number = 0
      +

      write index [0]

      +
      +
    • +
    • +
      i: number = 0
      +

      read begin index [0]

      +
      +
    • +
    • +
      I: number = y.length
      +

      read end index [|x|]

      +
      +
    +

    Returns T[]

    x[0..j] ⧺ y[i..I] ⧺ x[j+I-i..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/copyWithin.html b/functions/copyWithin.html new file mode 100644 index 000000000..831d7fd96 --- /dev/null +++ b/functions/copyWithin.html @@ -0,0 +1,338 @@ +copyWithin | extra-array
+
+ +
+
+
+
+ +

Function copyWithin

+
+
    + +
  • +

    Copy part of array within.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      j: number = 0
      +

      write index [0]

      +
      +
    • +
    • +
      i: number = 0
      +

      read begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      read end index [|x|]

      +
      +
    +

    Returns T[]

    x[0..j] ⧺ x[i..I] ⧺ x[j+I-i..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/copyWithin_.html b/functions/copyWithin_.html new file mode 100644 index 000000000..cf61ee65b --- /dev/null +++ b/functions/copyWithin_.html @@ -0,0 +1,338 @@ +copyWithin$ | extra-array
+
+ +
+
+
+
+ +

Function copyWithin$

+
+
    + +
  • +

    Copy part of array within!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      j: number = 0
      +

      write index [0]

      +
      +
    • +
    • +
      i: number = 0
      +

      read begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      read end index [|x|]

      +
      +
    +

    Returns T[]

    x = x[0..j] ⧺ x[i..I] ⧺ x[j+I-i..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/copy_.html b/functions/copy_.html new file mode 100644 index 000000000..e41249dcb --- /dev/null +++ b/functions/copy_.html @@ -0,0 +1,343 @@ +copy$ | extra-array
+
+ +
+
+
+
+ +

Function copy$

+
+
    + +
  • +

    Copy part of array to another!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      target array (updated!)

      +
      +
    • +
    • +
      y: T[]
      +

      source array

      +
      +
    • +
    • +
      j: number = 0
      +

      write index [0]

      +
      +
    • +
    • +
      i: number = 0
      +

      read begin index [0]

      +
      +
    • +
    • +
      I: number = y.length
      +

      read end index [|x|]

      +
      +
    +

    Returns T[]

    x = x[0..j] ⧺ y[i..I] ⧺ x[j+I-i..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/count.html b/functions/count.html new file mode 100644 index 000000000..f60cdd9bc --- /dev/null +++ b/functions/count.html @@ -0,0 +1,328 @@ +count | extra-array
+
+ +
+
+
+
+ +

Function count

+
+
    + +
  • +

    Count values which satisfy a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    Σtᵢ | tᵢ = 1 if ft(vᵢ) else 0; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/countEach.html b/functions/countEach.html new file mode 100644 index 000000000..c1e5ef186 --- /dev/null +++ b/functions/countEach.html @@ -0,0 +1,330 @@ +countEach | extra-array
+
+ +
+
+
+
+ +

Function countEach

+
+
    + +
  • +

    Count occurrences of each distinct value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns Map<T | U, number>

    Map {value ⇒ count}

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/cut.html b/functions/cut.html new file mode 100644 index 000000000..ebc575e44 --- /dev/null +++ b/functions/cut.html @@ -0,0 +1,328 @@ +cut | extra-array
+
+ +
+
+
+
+ +

Function cut

+
+
    + +
  • +

    Break array when test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[][]

    [x[0..j], x[j..k], ...] | ft(x[i]) = true; i = j, k, ...

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/cutAt.html b/functions/cutAt.html new file mode 100644 index 000000000..45e390041 --- /dev/null +++ b/functions/cutAt.html @@ -0,0 +1,328 @@ +cutAt | extra-array
+
+ +
+
+
+
+ +

Function cutAt

+
+
    + +
  • +

    Break array at given indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      is: number[]
      +

      split ±indices (left to right)

      +
      +
    +

    Returns T[][]

    [x[0..j], x[j..k], ...] | ft(x[i]) = true; i = j, k, ...; i ∈ is

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/cutAtRight.html b/functions/cutAtRight.html new file mode 100644 index 000000000..d41c4e7d9 --- /dev/null +++ b/functions/cutAtRight.html @@ -0,0 +1,328 @@ +cutAtRight | extra-array
+
+ +
+
+
+
+ +

Function cutAtRight

+
+
    + +
  • +

    Break array after given indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      is: number[]
      +

      split ±indices (left to right)

      +
      +
    +

    Returns T[][]

    [x[0..j+1], x[j+1..k], ...] | ft(x[i]) = true; i = j, k, ...; i ∈ is

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/cutRight.html b/functions/cutRight.html new file mode 100644 index 000000000..524ba130d --- /dev/null +++ b/functions/cutRight.html @@ -0,0 +1,328 @@ +cutRight | extra-array
+
+ +
+
+
+
+ +

Function cutRight

+
+
    + +
  • +

    Break array after test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[][]

    [x[0..j+1], x[j+1..k], ...] | ft(x[i]) = true; i = j, k, ...

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/cycle.html b/functions/cycle.html new file mode 100644 index 000000000..36df37f73 --- /dev/null +++ b/functions/cycle.html @@ -0,0 +1,332 @@ +cycle | extra-array
+
+ +
+
+
+
+ +

Function cycle

+
+
    + +
  • +

    Obtain values that cycle through array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number = 0
      +

      begin ±index [0]

      +
      +
    • +
    • +
      n: number = x.length
      +

      number of values [|x|]

      +
      +
    +

    Returns T[]

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/deepClone.html b/functions/deepClone.html new file mode 100644 index 000000000..4a7b5e973 --- /dev/null +++ b/functions/deepClone.html @@ -0,0 +1,323 @@ +deepClone | extra-array
+
+ +
+
+
+
+ +

Function deepClone

+
+
    + +
  • +

    Deep clone an array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    deep clone of x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/difference.html b/functions/difference.html new file mode 100644 index 000000000..4b0b3dfe4 --- /dev/null +++ b/functions/difference.html @@ -0,0 +1,340 @@ +difference | extra-array
+
+ +
+
+
+
+ +

Function difference

+
+
    + +
  • +

    Obtain values not present in another array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    x - y = {v | v ∈ x, v ∉ y}

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/drop.html b/functions/drop.html new file mode 100644 index 000000000..62edca582 --- /dev/null +++ b/functions/drop.html @@ -0,0 +1,328 @@ +drop | extra-array
+
+ +
+
+
+
+ +

Function drop

+
+
    + +
  • +

    Discard first n values only.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 1
      +

      number of values [1]

      +
      +
    +

    Returns T[]

    x[n..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/dropRight.html b/functions/dropRight.html new file mode 100644 index 000000000..14f4d05be --- /dev/null +++ b/functions/dropRight.html @@ -0,0 +1,328 @@ +dropRight | extra-array
+
+ +
+
+
+
+ +

Function dropRight

+
+
    + +
  • +

    Discard last n values only.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 1
      +

      number of values [1]

      +
      +
    +

    Returns T[]

    x[0..-n]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/dropWhile.html b/functions/dropWhile.html new file mode 100644 index 000000000..598f516e0 --- /dev/null +++ b/functions/dropWhile.html @@ -0,0 +1,328 @@ +dropWhile | extra-array
+
+ +
+
+
+
+ +

Function dropWhile

+
+
    + +
  • +

    Discard values from left, while a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    x[T..] | ft(x[i]) = true ∀ i ∈ [0, T-1] & ft(x[T]) = false

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/dropWhileRight.html b/functions/dropWhileRight.html new file mode 100644 index 000000000..e892bef79 --- /dev/null +++ b/functions/dropWhileRight.html @@ -0,0 +1,328 @@ +dropWhileRight | extra-array
+
+ +
+
+
+
+ +

Function dropWhileRight

+
+
    + +
  • +

    Discard values from right, while a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    x[0..T-1] | ft(x[i]) = true ∀ i ∈ [T, |x|-1] & ft(x[T-1]) = false

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/entries.html b/functions/entries.html new file mode 100644 index 000000000..8e7ac3f6a --- /dev/null +++ b/functions/entries.html @@ -0,0 +1,323 @@ +entries | extra-array
+
+ +
+
+
+
+ +

Function entries

+
+
    + +
  • +

    Obtain all index-value pairs.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns Entries<T>

    [[0, v₀], [1, v₁], ...] | vᵢ = x[i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/every.html b/functions/every.html new file mode 100644 index 000000000..45f2c3cf2 --- /dev/null +++ b/functions/every.html @@ -0,0 +1,328 @@ +every | extra-array
+
+ +
+
+
+
+ +

Function every

+
+
    + +
  • +

    Examine if all values satisfy a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T> = null
      +

      test function (v, i, x)

      +
      +
    +

    Returns boolean

    true if ft(vᵢ) = true for all vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/exclusiveScan.html b/functions/exclusiveScan.html new file mode 100644 index 000000000..013efce78 --- /dev/null +++ b/functions/exclusiveScan.html @@ -0,0 +1,335 @@ +exclusiveScan | extra-array
+
+ +
+
+
+
+ +

Function exclusiveScan

+
+
    + +
  • +

    Perform exclusive prefix scan from left to right.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fr: ReduceFunction<T, T | U>
      +

      reduce function (acc, v, i, x)

      +
      +
    • +
    • +
      acc: T | U
      +

      initial value

      +
      +
    +

    Returns (T | U)[]

    [acc, fr(acc, v₀), fr(fr(acc, v₀), v₁)...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/exclusiveScan_.html b/functions/exclusiveScan_.html new file mode 100644 index 000000000..a16831de4 --- /dev/null +++ b/functions/exclusiveScan_.html @@ -0,0 +1,333 @@ +exclusiveScan$ | extra-array
+
+ +
+
+
+
+ +

Function exclusiveScan$

+
+
    + +
  • +

    Perform exclusive prefix scan from left to right!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      fr: ReduceFunction<T, T>
      +

      reduce function (acc, v, i, x)

      +
      +
    • +
    • +
      acc: T
      +

      initial value

      +
      +
    +

    Returns T[]

    x = [acc, fr(acc, v₀), fr(fr(acc, v₀), v₁)...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fill.html b/functions/fill.html new file mode 100644 index 000000000..0a84b8116 --- /dev/null +++ b/functions/fill.html @@ -0,0 +1,338 @@ +fill | extra-array
+
+ +
+
+
+
+ +

Function fill

+
+
    + +
  • +

    Fill with given value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      value

      +
      +
    • +
    • +
      i: number = 0
      +

      begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      end index [|x|]

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i..I] = v

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fill_.html b/functions/fill_.html new file mode 100644 index 000000000..8757d604f --- /dev/null +++ b/functions/fill_.html @@ -0,0 +1,338 @@ +fill$ | extra-array
+
+ +
+
+
+
+ +

Function fill$

+
+
    + +
  • +

    Fill with given value!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      v: T
      +

      value

      +
      +
    • +
    • +
      i: number = 0
      +

      begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      end index [|x|]

      +
      +
    +

    Returns T[]

    x | x[i..I] = v

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/filter.html b/functions/filter.html new file mode 100644 index 000000000..1bbfa165d --- /dev/null +++ b/functions/filter.html @@ -0,0 +1,328 @@ +filter | extra-array
+
+ +
+
+
+
+ +

Function filter

+
+
    + +
  • +

    Keep values which pass a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    [v₀, v₁, ...] | ft(vᵢ) = true; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/filterAt.html b/functions/filterAt.html new file mode 100644 index 000000000..80477c110 --- /dev/null +++ b/functions/filterAt.html @@ -0,0 +1,328 @@ +filterAt | extra-array
+
+ +
+
+
+
+ +

Function filterAt

+
+
    + +
  • +

    Keep values at given indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      is: number[]
      +

      indices

      +
      +
    +

    Returns T[]

    v₀, v₁, ... | vᵢ = x[i]; i ∈ is

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/filter_.html b/functions/filter_.html new file mode 100644 index 000000000..4f58fa469 --- /dev/null +++ b/functions/filter_.html @@ -0,0 +1,328 @@ +filter$ | extra-array
+
+ +
+
+
+
+ +

Function filter$

+
+
    + +
  • +

    Keep values which pass a test!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    x = [v₀, v₁, ...] | ft(vᵢ) = true; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/find.html b/functions/find.html new file mode 100644 index 000000000..b35ef4322 --- /dev/null +++ b/functions/find.html @@ -0,0 +1,328 @@ +find | extra-array
+
+ +
+
+
+
+ +

Function find

+
+
    + +
  • +

    Find first value passing a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T

    first v | ft(v) = true; v ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/findRight.html b/functions/findRight.html new file mode 100644 index 000000000..d9ffca076 --- /dev/null +++ b/functions/findRight.html @@ -0,0 +1,328 @@ +findRight | extra-array
+
+ +
+
+
+
+ +

Function findRight

+
+
    + +
  • +

    Find last value passing a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T

    last v | ft(v) = true; v ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/flat.html b/functions/flat.html new file mode 100644 index 000000000..58262f1a0 --- /dev/null +++ b/functions/flat.html @@ -0,0 +1,333 @@ +flat | extra-array
+
+ +
+
+
+
+ +

Function flat

+
+
    + +
  • +

    Flatten nested array to given depth.

    +
    +
    +

    Parameters

    +
      +
    • +
      x: any[]
      +

      a nested array

      +
      +
    • +
    • +
      n: number = -1
      +

      maximum depth [-1 ⇒ all]

      +
      +
    • +
    • +
      fm: MapFunction<any, any> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      ft: TestFunction<any> = null
      +

      flatten test function (v, i, x) [is]

      +
      +
    +

    Returns any[]

    flat iterable

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/flatMap.html b/functions/flatMap.html new file mode 100644 index 000000000..aefad8d42 --- /dev/null +++ b/functions/flatMap.html @@ -0,0 +1,328 @@ +flatMap | extra-array
+
+ +
+
+
+
+ +

Function flatMap

+
+
    + +
  • +

    Flatten nested array, based on map function.

    +
    +
    +

    Parameters

    +
      +
    • +
      x: any[]
      +

      an array

      +
      +
    • +
    • +
      fm: MapFunction<any, any> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      ft: TestFunction<any> = null
      +

      flatten test function (v, i, x) [is]

      +
      +
    +

    Returns any[]

    flat iterable

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/forEach.html b/functions/forEach.html new file mode 100644 index 000000000..e525cbdd4 --- /dev/null +++ b/functions/forEach.html @@ -0,0 +1,327 @@ +forEach | extra-array
+
+ +
+
+
+
+ +

Function forEach

+
+
    + +
  • +

    Call a function for each value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fp: ProcessFunction<T>
      +

      process function (v, i, x)

      +
      +
    +

    Returns void

    +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fromApplication.html b/functions/fromApplication.html new file mode 100644 index 000000000..2c9aee8c0 --- /dev/null +++ b/functions/fromApplication.html @@ -0,0 +1,333 @@ +fromApplication | extra-array
+
+ +
+
+
+
+ +

Function fromApplication

+
+
    + +
  • +

    Generate array from repeated function application.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      fm: MapFunction<T, T>
      +

      map function (v, i)

      +
      +
    • +
    • +
      v: T
      +

      start value

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    +

    Returns T[]

    [v, fm(v), fm(fm(v)), ...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fromInvocation.html b/functions/fromInvocation.html new file mode 100644 index 000000000..81b7dcefb --- /dev/null +++ b/functions/fromInvocation.html @@ -0,0 +1,328 @@ +fromInvocation | extra-array
+
+ +
+
+
+
+ +

Function fromInvocation

+
+
    + +
  • +

    Generate array from repeated function invocation.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      fn: Function
      +

      function

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    +

    Returns T[]

    [fn(), fn(), ...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fromIterable.html b/functions/fromIterable.html new file mode 100644 index 000000000..4e6247672 --- /dev/null +++ b/functions/fromIterable.html @@ -0,0 +1,323 @@ +fromIterable | extra-array
+
+ +
+
+
+
+ +

Function fromIterable

+
+
    + +
  • +

    Convert an iterable to array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: Iterable<T>
      +

      an iterable

      +
      +
    +

    Returns T[]

    x as array

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fromIterable_.html b/functions/fromIterable_.html new file mode 100644 index 000000000..35420379d --- /dev/null +++ b/functions/fromIterable_.html @@ -0,0 +1,323 @@ +fromIterable$ | extra-array
+
+ +
+
+
+
+ +

Function fromIterable$

+
+
    + +
  • +

    Convert an iterable to array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: Iterable<T>
      +

      an iterable (updatable if array!)

      +
      +
    +

    Returns T[]

    x as array

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/fromRange.html b/functions/fromRange.html new file mode 100644 index 000000000..d63b584e3 --- /dev/null +++ b/functions/fromRange.html @@ -0,0 +1,328 @@ +fromRange | extra-array
+
+ +
+
+
+
+ +

Function fromRange

+
+
    + +
  • +

    Generate array from given number range.

    +
    +
    +

    Parameters

    +
      +
    • +
      v: number
      +

      start number

      +
      +
    • +
    • +
      V: number
      +

      end number, excluding

      +
      +
    • +
    • +
      dv: number = 1
      +

      step size [1]

      +
      +
    +

    Returns number[]

    [v, v+dv, v+2dv, ...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/get.html b/functions/get.html new file mode 100644 index 000000000..888c6d217 --- /dev/null +++ b/functions/get.html @@ -0,0 +1,328 @@ +get | extra-array
+
+ +
+
+
+
+ +

Function get

+
+
    + +
  • +

    Get value at index.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      index

      +
      +
    +

    Returns T

    x[i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/getAll.html b/functions/getAll.html new file mode 100644 index 000000000..345caa4eb --- /dev/null +++ b/functions/getAll.html @@ -0,0 +1,328 @@ +getAll | extra-array
+
+ +
+
+
+
+ +

Function getAll

+
+
    + +
  • +

    Get values at indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      is: number[]
      +

      indices

      +
      +
    +

    Returns T[]

    [x[i₀], x[i₁], ...] | [i₀, i₁, ...] = is

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/getPath.html b/functions/getPath.html new file mode 100644 index 000000000..38d40e3c0 --- /dev/null +++ b/functions/getPath.html @@ -0,0 +1,323 @@ +getPath | extra-array
+
+ +
+
+
+
+ +

Function getPath

+
+
    + +
  • +

    Get value at path in a nested array.

    +
    +
    +

    Parameters

    +
      +
    • +
      x: any[]
      +

      a nested array

      +
      +
    • +
    • +
      p: number[]
      +

      path

      +
      +
    +

    Returns any

    x[i₀][i₁][...] | [i₀, i₁, ...] = p

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/group.html b/functions/group.html new file mode 100644 index 000000000..b6fdb191f --- /dev/null +++ b/functions/group.html @@ -0,0 +1,335 @@ +group | extra-array
+
+ +
+
+
+
+ +

Function group

+
+
    + +
  • +

    Keep similar values together and in order.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[][]

    [x[0..k], x[k..l], ...] | fc(x[i], x[j]) = 0; i, j = 0..k / k..l / ...

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasInfix.html b/functions/hasInfix.html new file mode 100644 index 000000000..f655e3e64 --- /dev/null +++ b/functions/hasInfix.html @@ -0,0 +1,340 @@ +hasInfix | extra-array
+
+ +
+
+
+
+ +

Function hasInfix

+
+
    + +
  • +

    Examine if array contains an infix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search infix

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x[i..I] = y for some i, I?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasPath.html b/functions/hasPath.html new file mode 100644 index 000000000..fb54d098d --- /dev/null +++ b/functions/hasPath.html @@ -0,0 +1,323 @@ +hasPath | extra-array
+
+ +
+
+
+
+ +

Function hasPath

+
+
    + +
  • +

    Check if nested array has a path.

    +
    +
    +

    Parameters

    +
      +
    • +
      x: any[]
      +

      a nested array

      +
      +
    • +
    • +
      p: number[]
      +

      path

      +
      +
    +

    Returns boolean

    x[i₀][i₁][...] exists? | [i₀, i₁, ...] = p

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasPermutation.html b/functions/hasPermutation.html new file mode 100644 index 000000000..f2f504e61 --- /dev/null +++ b/functions/hasPermutation.html @@ -0,0 +1,340 @@ +hasPermutation | extra-array
+
+ +
+
+
+
+ +

Function hasPermutation

+
+
    + +
  • +

    Examine if array has a permutation.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search permutation

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      compare function (a, b)

      +
      +
    +

    Returns boolean

    x contains a shuffled version of y?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasPrefix.html b/functions/hasPrefix.html new file mode 100644 index 000000000..8c11d5e2f --- /dev/null +++ b/functions/hasPrefix.html @@ -0,0 +1,340 @@ +hasPrefix | extra-array
+
+ +
+
+
+
+ +

Function hasPrefix

+
+
    + +
  • +

    Examine if array starts with a prefix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search prefix

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x[0..|y|] = y?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasSubsequence.html b/functions/hasSubsequence.html new file mode 100644 index 000000000..3e2bad7b4 --- /dev/null +++ b/functions/hasSubsequence.html @@ -0,0 +1,340 @@ +hasSubsequence | extra-array
+
+ +
+
+
+
+ +

Function hasSubsequence

+
+
    + +
  • +

    Examine if array has a subsequence.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search subsequence

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x[i₀] ⧺ x[i₁] ⧺ ... = y, for some i₀, i₁, ...? | i₀ < i₁ < ...

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasSuffix.html b/functions/hasSuffix.html new file mode 100644 index 000000000..de23ffeee --- /dev/null +++ b/functions/hasSuffix.html @@ -0,0 +1,340 @@ +hasSuffix | extra-array
+
+ +
+
+
+
+ +

Function hasSuffix

+
+
    + +
  • +

    Examine if array ends with a suffix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search suffix

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x[|x|-|y|..] = y?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasUnsortedValue.html b/functions/hasUnsortedValue.html new file mode 100644 index 000000000..c057202d7 --- /dev/null +++ b/functions/hasUnsortedValue.html @@ -0,0 +1,335 @@ +hasUnsortedValue | extra-array
+
+ +
+
+
+
+ +

Function hasUnsortedValue

+
+
    + +
  • +

    Examine if array has an unsorted value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x is not sorted?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/hasValue.html b/functions/hasValue.html new file mode 100644 index 000000000..45e7fd0ab --- /dev/null +++ b/functions/hasValue.html @@ -0,0 +1,340 @@ +hasValue | extra-array
+
+ +
+
+
+
+ +

Function hasValue

+
+
    + +
  • +

    Examine if array has a value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    v ∈ x?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/head.html b/functions/head.html new file mode 100644 index 000000000..dc2f07704 --- /dev/null +++ b/functions/head.html @@ -0,0 +1,328 @@ +head | extra-array
+
+ +
+
+
+
+ +

Function head

+
+
    + +
  • +

    Get first value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      Optional vd: T
      +

      default value

      +
      +
    +

    Returns T

    x[0] || vd

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/ientries.html b/functions/ientries.html new file mode 100644 index 000000000..267293f37 --- /dev/null +++ b/functions/ientries.html @@ -0,0 +1,323 @@ +ientries | extra-array
+
+ +
+
+
+
+ +

Function ientries

+
+
    + +
  • +

    List all index-value pairs.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns IEntries<T>

    [0, v₀], [1, v₁], ... | vᵢ = x[i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/iinfixes.html b/functions/iinfixes.html new file mode 100644 index 000000000..d3a828793 --- /dev/null +++ b/functions/iinfixes.html @@ -0,0 +1,328 @@ +iinfixes | extra-array
+
+ +
+
+
+
+ +

Function iinfixes

+
+
    + +
  • +

    List all possible infixes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns IterableIterator<T[]>

    [], x[0..1], x[0..2], ..., x[1..2], ... if n<0; only of length n otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/ikeys.html b/functions/ikeys.html new file mode 100644 index 000000000..8d88fc77b --- /dev/null +++ b/functions/ikeys.html @@ -0,0 +1,323 @@ +ikeys | extra-array
+
+ +
+
+
+
+ +

Function ikeys

+
+
    + +
  • +

    List all indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns IterableIterator<number>

    0, 1, ..., |x|-1

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/includes.html b/functions/includes.html new file mode 100644 index 000000000..a0e09d320 --- /dev/null +++ b/functions/includes.html @@ -0,0 +1,333 @@ +includes | extra-array
+
+ +
+
+
+
+ +

Function includes

+
+
    + +
  • +

    Check if array has a value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      i: number = 0
      +

      begin index [0]

      +
      +
    +

    Returns boolean

    v ∈ x[i..]?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/inclusiveScan.html b/functions/inclusiveScan.html new file mode 100644 index 000000000..521bdc638 --- /dev/null +++ b/functions/inclusiveScan.html @@ -0,0 +1,335 @@ +inclusiveScan | extra-array
+
+ +
+
+
+
+ +

Function inclusiveScan

+
+
    + +
  • +

    Perform inclusive prefix scan from left to right.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fr: ReduceFunction<T, T | U>
      +

      reduce function (acc, v, i, x)

      +
      +
    • +
    • +
      Optional acc: T | U
      +

      initial value

      +
      +
    +

    Returns (T | U)[]

    [fr(acc, v₀), fr(fr(acc, v₀), v₁)...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/inclusiveScan_.html b/functions/inclusiveScan_.html new file mode 100644 index 000000000..5649dc216 --- /dev/null +++ b/functions/inclusiveScan_.html @@ -0,0 +1,333 @@ +inclusiveScan$ | extra-array
+
+ +
+
+
+
+ +

Function inclusiveScan$

+
+
    + +
  • +

    Perform inclusive prefix scan from left to right!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      fr: ReduceFunction<T, T>
      +

      reduce function (acc, v, i, x)

      +
      +
    • +
    • +
      acc: T
      +

      initial value

      +
      +
    +

    Returns T[]

    x = [fr(acc, v₀), fr(fr(acc, v₀), v₁)...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/index.html b/functions/index.html new file mode 100644 index 000000000..c23e853a6 --- /dev/null +++ b/functions/index.html @@ -0,0 +1,328 @@ +index | extra-array
+
+ +
+
+
+
+ +

Function index

+
+
    + +
  • +

    Get zero-based index for an element in array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      ±index

      +
      +
    +

    Returns number

    i' | x[i'] = x[i]; i' ∈ [0, |x|]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/indexOf.html b/functions/indexOf.html new file mode 100644 index 000000000..8fcc1e838 --- /dev/null +++ b/functions/indexOf.html @@ -0,0 +1,333 @@ +indexOf | extra-array
+
+ +
+
+
+
+ +

Function indexOf

+
+
    + +
  • +

    Find first index of a value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      i: number = 0
      +

      begin index [0]

      +
      +
    +

    Returns number

    index of v in x[i..] if found else -1

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/indexRange.html b/functions/indexRange.html new file mode 100644 index 000000000..c15c25701 --- /dev/null +++ b/functions/indexRange.html @@ -0,0 +1,333 @@ +indexRange | extra-array
+
+ +
+
+
+
+ +

Function indexRange

+
+
    + +
  • +

    Get zero-based index range for part of array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number = 0
      +

      begin ±index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      end ±index (exclusive) [|x|]

      +
      +
    +

    Returns [number, number]

    [i', I'] | i' ≤ I'; i', I' ∈ [0, |x|]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/infixes.html b/functions/infixes.html new file mode 100644 index 000000000..a2218e9e9 --- /dev/null +++ b/functions/infixes.html @@ -0,0 +1,328 @@ +infixes | extra-array
+
+ +
+
+
+
+ +

Function infixes

+
+
    + +
  • +

    Obtain all possible infixes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns T[][]

    [[], x[0..1], x[0..2], ..., x[1..2], ...] if n<0; [only of length n] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/init.html b/functions/init.html new file mode 100644 index 000000000..ec982c282 --- /dev/null +++ b/functions/init.html @@ -0,0 +1,323 @@ +init | extra-array
+
+ +
+
+
+
+ +

Function init

+
+
    + +
  • +

    Get values except last.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    x[0..|x|-1]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/interleave.html b/functions/interleave.html new file mode 100644 index 000000000..a4c79d60f --- /dev/null +++ b/functions/interleave.html @@ -0,0 +1,323 @@ +interleave | extra-array
+
+ +
+
+
+
+ +

Function interleave

+
+
    + +
  • +

    Place values from iterables alternately.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      xs: T[][]
      +

      arrays

      +
      +
    +

    Returns T[]

    [x₀[0], x₁[0], ..., x₀[1], x₁[0], ...] | [x₀, x₁, ...] = xs

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/intermix.html b/functions/intermix.html new file mode 100644 index 000000000..f2d7845a4 --- /dev/null +++ b/functions/intermix.html @@ -0,0 +1,348 @@ +intermix | extra-array
+
+ +
+
+
+
+ +

Function intermix

+
+
    + +
  • +

    Place values of an array between another.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      m: number = 1
      +

      number of values from x [1]

      +
      +
    • +
    • +
      n: number = 1
      +

      number of values from y [1]

      +
      +
    • +
    • +
      s: number = m
      +

      step size for x [m]

      +
      +
    • +
    • +
      t: number = n
      +

      step size for y [n]

      +
      +
    +

    Returns T[]

    x[0..m] ⧺ y[0..n] ⧺ x[s..s+m] ⧺ y[t..t+n] ⧺ ... ⧺ x[k*s..|x|-1] | k ∈ W

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/interpolate.html b/functions/interpolate.html new file mode 100644 index 000000000..99ccb869b --- /dev/null +++ b/functions/interpolate.html @@ -0,0 +1,328 @@ +interpolate | extra-array
+
+ +
+
+
+
+ +

Function interpolate

+
+
    + +
  • +

    Estimate new values between existing ones.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CombineFunction<T>
      +

      combine function (a, b)

      +
      +
    +

    Returns T[]

    [x[0], fc(x[0], x[1]), x[1], fc(x[1], x[2]), ..., x[|x|-1]]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/intersection.html b/functions/intersection.html new file mode 100644 index 000000000..4a5045b52 --- /dev/null +++ b/functions/intersection.html @@ -0,0 +1,340 @@ +intersection | extra-array
+
+ +
+
+
+
+ +

Function intersection

+
+
    + +
  • +

    Obtain values present in both arrays.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    x ∩ y = {v | v ∈ x, v ∈ y}

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/intersperse.html b/functions/intersperse.html new file mode 100644 index 000000000..a0f6f666f --- /dev/null +++ b/functions/intersperse.html @@ -0,0 +1,328 @@ +intersperse | extra-array
+
+ +
+
+
+
+ +

Function intersperse

+
+
    + +
  • +

    Place a separator between every value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      separator

      +
      +
    +

    Returns T[]

    [x[0], v, x[1], v, ..., x[|x|-1]]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/ipermutations.html b/functions/ipermutations.html new file mode 100644 index 000000000..28f8c0e3e --- /dev/null +++ b/functions/ipermutations.html @@ -0,0 +1,328 @@ +ipermutations | extra-array
+
+ +
+
+
+
+ +

Function ipermutations

+
+
    + +
  • +

    List all possible permutations.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns IterableIterator<T[]>

    [], arrangements of length 1, of length 2, ... if n<0; only of length n otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/iprefixes.html b/functions/iprefixes.html new file mode 100644 index 000000000..3cb543e52 --- /dev/null +++ b/functions/iprefixes.html @@ -0,0 +1,328 @@ +iprefixes | extra-array
+
+ +
+
+
+
+ +

Function iprefixes

+
+
    + +
  • +

    List all possible prefixes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns IterableIterator<T[]>

    [], x[..1], x[..2], ... if n<0; x[..n] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/is.html b/functions/is.html new file mode 100644 index 000000000..e056eb0a0 --- /dev/null +++ b/functions/is.html @@ -0,0 +1,318 @@ +is | extra-array
+
+ +
+
+
+
+ +

Function is

+
+
    + +
  • +

    Check if value is an array.

    +
    +
    +

    Parameters

    +
      +
    • +
      v: any
      +

      a value

      +
      +
    +

    Returns v is any[]

    v is an array?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isDisjoint.html b/functions/isDisjoint.html new file mode 100644 index 000000000..0960f4c4b --- /dev/null +++ b/functions/isDisjoint.html @@ -0,0 +1,340 @@ +isDisjoint | extra-array
+
+ +
+
+
+
+ +

Function isDisjoint

+
+
    + +
  • +

    Examine if arrays have no value in common.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x ∩ y = Φ?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isEmpty.html b/functions/isEmpty.html new file mode 100644 index 000000000..ced510341 --- /dev/null +++ b/functions/isEmpty.html @@ -0,0 +1,323 @@ +isEmpty | extra-array
+
+ +
+
+
+
+ +

Function isEmpty

+
+
    + +
  • +

    Check if an array is empty.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns boolean

    |x| = 0?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isEqual.html b/functions/isEqual.html new file mode 100644 index 000000000..6512e997b --- /dev/null +++ b/functions/isEqual.html @@ -0,0 +1,340 @@ +isEqual | extra-array
+
+ +
+
+
+
+ +

Function isEqual

+
+
    + +
  • +

    Examine if two arrays are equal.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x = y?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isSorted.html b/functions/isSorted.html new file mode 100644 index 000000000..a011fa6b7 --- /dev/null +++ b/functions/isSorted.html @@ -0,0 +1,335 @@ +isSorted | extra-array
+
+ +
+
+
+
+ +

Function isSorted

+
+
    + +
  • +

    Examine if array is sorted.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    x is sorted?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isUnique.html b/functions/isUnique.html new file mode 100644 index 000000000..670dbf88d --- /dev/null +++ b/functions/isUnique.html @@ -0,0 +1,335 @@ +isUnique | extra-array
+
+ +
+
+
+
+ +

Function isUnique

+
+
    + +
  • +

    Examine if there are no duplicate values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns boolean

    ∀ vᵢ, vⱼ ∈ x, is vᵢ ≠ vⱼ?

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isubsequences.html b/functions/isubsequences.html new file mode 100644 index 000000000..eb87e05f2 --- /dev/null +++ b/functions/isubsequences.html @@ -0,0 +1,328 @@ +isubsequences | extra-array
+
+ +
+
+
+
+ +

Function isubsequences

+
+
    + +
  • +

    List all possible subsequences.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns IterableIterator<T[]>

    elements selected by bit from 0..2^|x| if n<0; only of length n otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/isuffixes.html b/functions/isuffixes.html new file mode 100644 index 000000000..1ec8b63d9 --- /dev/null +++ b/functions/isuffixes.html @@ -0,0 +1,328 @@ +isuffixes | extra-array
+
+ +
+
+
+
+ +

Function isuffixes

+
+
    + +
  • +

    List all possible suffixes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns IterableIterator<T[]>

    x[0..], x[1..], x[2..], ... if n<0; x[-n..] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/ivalues.html b/functions/ivalues.html new file mode 100644 index 000000000..4b505e301 --- /dev/null +++ b/functions/ivalues.html @@ -0,0 +1,323 @@ +ivalues | extra-array
+
+ +
+
+
+
+ +

Function ivalues

+
+
    + +
  • +

    List all values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns IterableIterator<T>

    v₀, v₁, ... | vᵢ = x[i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/join.html b/functions/join.html new file mode 100644 index 000000000..d018d33db --- /dev/null +++ b/functions/join.html @@ -0,0 +1,328 @@ +join | extra-array
+
+ +
+
+
+
+ +

Function join

+
+
    + +
  • +

    Join values together into a string.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      sep: string = ","
      +

      separator [,]

      +
      +
    +

    Returns string

    "${v₀}${sep}${v₁}..." | vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/keys.html b/functions/keys.html new file mode 100644 index 000000000..0b725b59f --- /dev/null +++ b/functions/keys.html @@ -0,0 +1,323 @@ +keys | extra-array
+
+ +
+
+
+
+ +

Function keys

+
+
    + +
  • +

    Obtain all indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns number[]

    [0, 1, ..., |x|-1]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/last.html b/functions/last.html new file mode 100644 index 000000000..3c0ad7918 --- /dev/null +++ b/functions/last.html @@ -0,0 +1,328 @@ +last | extra-array
+
+ +
+
+
+
+ +

Function last

+
+
    + +
  • +

    Get last value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      Optional vd: T
      +

      default value

      +
      +
    +

    Returns T

    x[|x|-1] || vd

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/lastIndexOf.html b/functions/lastIndexOf.html new file mode 100644 index 000000000..749cf54a8 --- /dev/null +++ b/functions/lastIndexOf.html @@ -0,0 +1,333 @@ +lastIndexOf | extra-array
+
+ +
+
+
+
+ +

Function lastIndexOf

+
+
    + +
  • +

    Find last index of a value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      i: number = ...
      +

      begin index [|x|-1]

      +
      +
    +

    Returns number

    last index of v in x[0..i] if found else -1

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/length.html b/functions/length.html new file mode 100644 index 000000000..dc8c5851e --- /dev/null +++ b/functions/length.html @@ -0,0 +1,333 @@ +length | extra-array
+
+ +
+
+
+
+ +

Function length

+
+
    + +
  • +

    Find the length of an array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number = 0
      +

      begin ±index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      end ±index (exclusive) [X]

      +
      +
    +

    Returns number

    |x[i..I]|

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/map.html b/functions/map.html new file mode 100644 index 000000000..e68a1807e --- /dev/null +++ b/functions/map.html @@ -0,0 +1,330 @@ +map | extra-array
+
+ +
+
+
+
+ +

Function map

+
+
    + +
  • +

    Transform values of an array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U>
      +

      map function (v, i, x)

      +
      +
    +

    Returns (T | U)[]

    [fm(v₀), fm(v₁), ...] | vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/map_.html b/functions/map_.html new file mode 100644 index 000000000..0f9f71024 --- /dev/null +++ b/functions/map_.html @@ -0,0 +1,328 @@ +map$ | extra-array
+
+ +
+
+
+
+ +

Function map$

+
+
    + +
  • +

    Transform values of an array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      fm: MapFunction<T, T>
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    x = [fm(v₀), fm(v₁), ...]; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/maximum.html b/functions/maximum.html new file mode 100644 index 000000000..fc713240f --- /dev/null +++ b/functions/maximum.html @@ -0,0 +1,335 @@ +maximum | extra-array
+
+ +
+
+
+
+ +

Function maximum

+
+
    + +
  • +

    Find first largest value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T

    v | v ≥ vᵢ; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/maximumEntries.html b/functions/maximumEntries.html new file mode 100644 index 000000000..8cbbd58af --- /dev/null +++ b/functions/maximumEntries.html @@ -0,0 +1,340 @@ +maximumEntries | extra-array
+
+ +
+
+
+
+ +

Function maximumEntries

+
+
    + +
  • +

    Find largest entries.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns [number, T][]

    n largest entries in descending order

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/maximumEntry.html b/functions/maximumEntry.html new file mode 100644 index 000000000..98f687b66 --- /dev/null +++ b/functions/maximumEntry.html @@ -0,0 +1,335 @@ +maximumEntry | extra-array
+
+ +
+
+
+
+ +

Function maximumEntry

+
+
    + +
  • +

    Find first largest entry.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns [number, T]

    [max_index, max_value]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/maximums.html b/functions/maximums.html new file mode 100644 index 000000000..d8edef0f7 --- /dev/null +++ b/functions/maximums.html @@ -0,0 +1,340 @@ +maximums | extra-array
+
+ +
+
+
+
+ +

Function maximums

+
+
    + +
  • +

    Find largest values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    n largest values in descending order

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/middle.html b/functions/middle.html new file mode 100644 index 000000000..9e52ade59 --- /dev/null +++ b/functions/middle.html @@ -0,0 +1,333 @@ +middle | extra-array
+
+ +
+
+
+
+ +

Function middle

+
+
    + +
  • +

    Get values from middle.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      begin index

      +
      +
    • +
    • +
      n: number = 1
      +

      number of values [1]

      +
      +
    +

    Returns T[]

    x[i..i+n]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/minimum.html b/functions/minimum.html new file mode 100644 index 000000000..b48898925 --- /dev/null +++ b/functions/minimum.html @@ -0,0 +1,335 @@ +minimum | extra-array
+
+ +
+
+
+
+ +

Function minimum

+
+
    + +
  • +

    Find first smallest value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T

    v | v ≤ vᵢ; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/minimumEntries.html b/functions/minimumEntries.html new file mode 100644 index 000000000..ee8e1af10 --- /dev/null +++ b/functions/minimumEntries.html @@ -0,0 +1,340 @@ +minimumEntries | extra-array
+
+ +
+
+
+
+ +

Function minimumEntries

+
+
    + +
  • +

    Find smallest entries.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns [number, T][]

    n smallest entries in ascending order

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/minimumEntry.html b/functions/minimumEntry.html new file mode 100644 index 000000000..fc3bbc932 --- /dev/null +++ b/functions/minimumEntry.html @@ -0,0 +1,335 @@ +minimumEntry | extra-array
+
+ +
+
+
+
+ +

Function minimumEntry

+
+
    + +
  • +

    Find first smallest entry.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns [number, T]

    [min_index, min_value]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/minimums.html b/functions/minimums.html new file mode 100644 index 000000000..1756e73ba --- /dev/null +++ b/functions/minimums.html @@ -0,0 +1,340 @@ +minimums | extra-array
+
+ +
+
+
+
+ +

Function minimums

+
+
    + +
  • +

    Find smallest values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    n smallest values in ascending order

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/moveWithin.html b/functions/moveWithin.html new file mode 100644 index 000000000..f8166aff7 --- /dev/null +++ b/functions/moveWithin.html @@ -0,0 +1,338 @@ +moveWithin | extra-array
+
+ +
+
+
+
+ +

Function moveWithin

+
+
    + +
  • +

    Move part of array within.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      j: number = 0
      +

      write index [0]

      +
      +
    • +
    • +
      i: number = 0
      +

      read begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      read end index [|x|]

      +
      +
    +

    Returns T[]

    x[0..j] ⧺ x[i..I] ⧺ x[j..i] ⧺ x[I..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/moveWithin_.html b/functions/moveWithin_.html new file mode 100644 index 000000000..32fa21d8f --- /dev/null +++ b/functions/moveWithin_.html @@ -0,0 +1,338 @@ +moveWithin$ | extra-array
+
+ +
+
+
+
+ +

Function moveWithin$

+
+
    + +
  • +

    Move part of array within!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      j: number = 0
      +

      write ±index [0]

      +
      +
    • +
    • +
      i: number = 0
      +

      read begin ±index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      read end ±index [|x|]

      +
      +
    +

    Returns T[]

    x = x[0..j] ⧺ x[i..I] ⧺ x[j..i] ⧺ x[I..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/partialSort.html b/functions/partialSort.html new file mode 100644 index 000000000..e371bf29e --- /dev/null +++ b/functions/partialSort.html @@ -0,0 +1,345 @@ +partialSort | extra-array
+
+ +
+
+
+
+ +

Function partialSort

+
+
    + +
  • +

    Partially arrange values in order.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      minimum number of values to sort

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i] ≤ x'[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/partialSort_.html b/functions/partialSort_.html new file mode 100644 index 000000000..6ac9684ed --- /dev/null +++ b/functions/partialSort_.html @@ -0,0 +1,345 @@ +partialSort$ | extra-array
+
+ +
+
+
+
+ +

Function partialSort$

+
+
    + +
  • +

    Partially arrange values in order!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      n: number
      +

      minimum number of values to sort

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x | x[i] ≤ x[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/partition.html b/functions/partition.html new file mode 100644 index 000000000..18323f44a --- /dev/null +++ b/functions/partition.html @@ -0,0 +1,328 @@ +partition | extra-array
+
+ +
+
+
+
+ +

Function partition

+
+
    + +
  • +

    Segregate values by test result.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns [T[], T[]]

    [satisfies, doesnt]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/partitionEach.html b/functions/partitionEach.html new file mode 100644 index 000000000..b819f8a2a --- /dev/null +++ b/functions/partitionEach.html @@ -0,0 +1,330 @@ +partitionEach | extra-array
+
+ +
+
+
+
+ +

Function partitionEach

+
+
    + +
  • +

    Segregate each distinct value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns Map<T | U, T[]>

    Map {key ⇒ values}

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/permutations.html b/functions/permutations.html new file mode 100644 index 000000000..adfc0f03c --- /dev/null +++ b/functions/permutations.html @@ -0,0 +1,328 @@ +permutations | extra-array
+
+ +
+
+
+
+ +

Function permutations

+
+
    + +
  • +

    Obtain all possible permutations.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns T[][]

    [[], arrangements of length 1, of length 2, ...] if n<0; [only of length n] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/pop.html b/functions/pop.html new file mode 100644 index 000000000..bf0f5ad53 --- /dev/null +++ b/functions/pop.html @@ -0,0 +1,323 @@ +pop | extra-array
+
+ +
+
+
+
+ +

Function pop

+
+
    + +
  • +

    Remove last value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    x[0..|x|-1]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/pop_.html b/functions/pop_.html new file mode 100644 index 000000000..7107d76dd --- /dev/null +++ b/functions/pop_.html @@ -0,0 +1,323 @@ +pop$ | extra-array
+
+ +
+
+
+
+ +

Function pop$

+
+
    + +
  • +

    Remove last value!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    +

    Returns T[]

    x = x[0..|x|-1]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/prefixes.html b/functions/prefixes.html new file mode 100644 index 000000000..15b03f2f5 --- /dev/null +++ b/functions/prefixes.html @@ -0,0 +1,328 @@ +prefixes | extra-array
+
+ +
+
+
+
+ +

Function prefixes

+
+
    + +
  • +

    Obtain all possible prefixes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns T[][]

    [[], x[..1], x[..2], ...] if n<0; [x[..n]] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/push.html b/functions/push.html new file mode 100644 index 000000000..52e8373fb --- /dev/null +++ b/functions/push.html @@ -0,0 +1,328 @@ +push | extra-array
+
+ +
+
+
+
+ +

Function push

+
+
    + +
  • +

    Add value to the end.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      Rest ...vs: T[]
      +

      values to add

      +
      +
    +

    Returns T[]

    x ⧺ vs

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/push_.html b/functions/push_.html new file mode 100644 index 000000000..c01c1dbac --- /dev/null +++ b/functions/push_.html @@ -0,0 +1,328 @@ +push$ | extra-array
+
+ +
+
+
+
+ +

Function push$

+
+
    + +
  • +

    Add values to the end!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      Rest ...vs: T[]
      +

      values to add

      +
      +
    +

    Returns T[]

    x = x ⧺ vs

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomInfix.html b/functions/randomInfix.html new file mode 100644 index 000000000..292fedb5f --- /dev/null +++ b/functions/randomInfix.html @@ -0,0 +1,333 @@ +randomInfix | extra-array
+
+ +
+
+
+
+ +

Function randomInfix

+
+
    + +
  • +

    Pick an arbitrary infix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T[]

    x[i..j] if n<0; x[i..i+n] otherwise | i, j ∈ 0..|x|

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomPermutation.html b/functions/randomPermutation.html new file mode 100644 index 000000000..3b974fcfe --- /dev/null +++ b/functions/randomPermutation.html @@ -0,0 +1,333 @@ +randomPermutation | extra-array
+
+ +
+
+
+
+ +

Function randomPermutation

+
+
    + +
  • +

    Pick an arbitrary permutation.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T[]

    x' | x' = x; values are randomly shuffled

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomPermutation_.html b/functions/randomPermutation_.html new file mode 100644 index 000000000..af3917217 --- /dev/null +++ b/functions/randomPermutation_.html @@ -0,0 +1,333 @@ +randomPermutation$ | extra-array
+
+ +
+
+
+
+ +

Function randomPermutation$

+
+
    + +
  • +

    Pick an arbitrary permutation!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T[]

    x | values are randomly shuffled

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomPrefix.html b/functions/randomPrefix.html new file mode 100644 index 000000000..5ddf8ab56 --- /dev/null +++ b/functions/randomPrefix.html @@ -0,0 +1,333 @@ +randomPrefix | extra-array
+
+ +
+
+
+
+ +

Function randomPrefix

+
+
    + +
  • +

    Pick an arbitrary prefix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T[]

    x[..i] if n<0; x[..n] otherwise | i ∈ 0..|x|

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomSubsequence.html b/functions/randomSubsequence.html new file mode 100644 index 000000000..4e8604774 --- /dev/null +++ b/functions/randomSubsequence.html @@ -0,0 +1,333 @@ +randomSubsequence | extra-array
+
+ +
+
+
+
+ +

Function randomSubsequence

+
+
    + +
  • +

    Pick an arbitrary subsequence.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T[]

    x[i, j, ...] | [i, j, ...] = is; |is| = |x| if n<0 else n

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomSuffix.html b/functions/randomSuffix.html new file mode 100644 index 000000000..0a87a8cc2 --- /dev/null +++ b/functions/randomSuffix.html @@ -0,0 +1,333 @@ +randomSuffix | extra-array
+
+ +
+
+
+
+ +

Function randomSuffix

+
+
    + +
  • +

    Pick an arbitrary suffix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T[]

    x[|x|-i..] if n<0; x[|x|-n..] otherwise | i ∈ 0..|x|

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/randomValue.html b/functions/randomValue.html new file mode 100644 index 000000000..6b7936381 --- /dev/null +++ b/functions/randomValue.html @@ -0,0 +1,328 @@ +randomValue | extra-array
+
+ +
+
+
+
+ +

Function randomValue

+
+
    + +
  • +

    Pick an arbitrary value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fr: ReadFunction<number> = Math.random
      +

      random number generator ([0, 1))

      +
      +
    +

    Returns T

    x[i] | i ∈ 0..|x|

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/range.html b/functions/range.html new file mode 100644 index 000000000..4aa40c2ae --- /dev/null +++ b/functions/range.html @@ -0,0 +1,335 @@ +range | extra-array
+
+ +
+
+
+
+ +

Function range

+
+
    + +
  • +

    Find smallest and largest values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns [T, T]

    [min_value, max_value]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rangeEntries.html b/functions/rangeEntries.html new file mode 100644 index 000000000..4606d8c4c --- /dev/null +++ b/functions/rangeEntries.html @@ -0,0 +1,335 @@ +rangeEntries | extra-array
+
+ +
+
+
+
+ +

Function rangeEntries

+
+
    + +
  • +

    Find smallest and largest entries.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns [[number, T], [number, T]]

    [min_entry, max_entry]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rangedPartialSort.html b/functions/rangedPartialSort.html new file mode 100644 index 000000000..0254edb33 --- /dev/null +++ b/functions/rangedPartialSort.html @@ -0,0 +1,355 @@ +rangedPartialSort | extra-array
+
+ +
+
+
+
+ +

Function rangedPartialSort

+
+
    + +
  • +

    Partially arrange a range of values in order.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      begin index

      +
      +
    • +
    • +
      I: number
      +

      end index (exclusive)

      +
      +
    • +
    • +
      n: number
      +

      minimum number of values to sort

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i] ≤ x'[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rangedPartialSort_.html b/functions/rangedPartialSort_.html new file mode 100644 index 000000000..b7384353a --- /dev/null +++ b/functions/rangedPartialSort_.html @@ -0,0 +1,355 @@ +rangedPartialSort$ | extra-array
+
+ +
+
+
+
+ +

Function rangedPartialSort$

+
+
    + +
  • +

    Partially arrange a range of values in order!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      begin index

      +
      +
    • +
    • +
      I: number
      +

      end index (exclusive)

      +
      +
    • +
    • +
      n: number
      +

      minimum number of values to sort

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x | x[i] ≤ x[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rangedSort.html b/functions/rangedSort.html new file mode 100644 index 000000000..8dc132122 --- /dev/null +++ b/functions/rangedSort.html @@ -0,0 +1,350 @@ +rangedSort | extra-array
+
+ +
+
+
+
+ +

Function rangedSort

+
+
    + +
  • +

    Arrange a range of values in order.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      begin index

      +
      +
    • +
    • +
      I: number
      +

      end index (exclusive)

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i] ≤ x'[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rangedSort_.html b/functions/rangedSort_.html new file mode 100644 index 000000000..03a6371b3 --- /dev/null +++ b/functions/rangedSort_.html @@ -0,0 +1,350 @@ +rangedSort$ | extra-array
+
+ +
+
+
+
+ +

Function rangedSort$

+
+
    + +
  • +

    Arrange a range of values in order!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      begin index

      +
      +
    • +
    • +
      I: number
      +

      end index (exclusive)

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x | x[i] ≤ x[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/reduce.html b/functions/reduce.html new file mode 100644 index 000000000..e9e061a15 --- /dev/null +++ b/functions/reduce.html @@ -0,0 +1,335 @@ +reduce | extra-array
+
+ +
+
+
+
+ +

Function reduce

+
+
    + +
  • +

    Reduce values of array to a single value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fr: ReduceFunction<T, T | U>
      +

      reduce function (acc, v, i, x)

      +
      +
    • +
    • +
      Optional acc: T | U
      +

      initial value

      +
      +
    +

    Returns T | U

    fr(fr(acc, v₀), v₁)... | fr(acc, v₀) = v₀ if acc not given

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/reduceRight.html b/functions/reduceRight.html new file mode 100644 index 000000000..1be7748d8 --- /dev/null +++ b/functions/reduceRight.html @@ -0,0 +1,335 @@ +reduceRight | extra-array
+
+ +
+
+
+
+ +

Function reduceRight

+
+
    + +
  • +

    Reduce values from right, to a single value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fr: ReduceFunction<T, T | U>
      +

      reduce function (acc, v, i, x)

      +
      +
    • +
    • +
      Optional acc: T | U
      +

      initial value

      +
      +
    +

    Returns T | U

    fr(fr(acc, vₓ₋₀), vₓ₋₁)... | fr(acc, vₓ₋₀) = vₓ₋₀ if acc not given

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/reject.html b/functions/reject.html new file mode 100644 index 000000000..5a27cc8a5 --- /dev/null +++ b/functions/reject.html @@ -0,0 +1,328 @@ +reject | extra-array
+
+ +
+
+
+
+ +

Function reject

+
+
    + +
  • +

    Discard values which pass a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    [v₀, v₁, ...] | ft(vᵢ) = false; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rejectAt.html b/functions/rejectAt.html new file mode 100644 index 000000000..3e79e839a --- /dev/null +++ b/functions/rejectAt.html @@ -0,0 +1,328 @@ +rejectAt | extra-array
+
+ +
+
+
+
+ +

Function rejectAt

+
+
    + +
  • +

    Discard values at given indices.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      is: number[]
      +

      indices

      +
      +
    +

    Returns T[]

    [v₀, v₁, ...] | vᵢ = x[i]; i ∉ is

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/reject_.html b/functions/reject_.html new file mode 100644 index 000000000..c857f82b7 --- /dev/null +++ b/functions/reject_.html @@ -0,0 +1,328 @@ +reject$ | extra-array
+
+ +
+
+
+
+ +

Function reject$

+
+
    + +
  • +

    Discard values which pass a test!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    x = [v₀, v₁, ...] | ft(vᵢ) = false; vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/remove.html b/functions/remove.html new file mode 100644 index 000000000..12d17ebef --- /dev/null +++ b/functions/remove.html @@ -0,0 +1,328 @@ +remove | extra-array
+
+ +
+
+
+
+ +

Function remove

+
+
    + +
  • +

    Remove value at index.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      index

      +
      +
    +

    Returns T[]

    x[0..i] ⧺ x[i+1..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/removePath_.html b/functions/removePath_.html new file mode 100644 index 000000000..6db57e6e8 --- /dev/null +++ b/functions/removePath_.html @@ -0,0 +1,323 @@ +removePath$ | extra-array
+
+ +
+
+
+
+ +

Function removePath$

+
+
    + +
  • +

    Remove value at path in a nested array!

    +
    +
    +

    Parameters

    +
      +
    • +
      x: any[]
      +

      a nested array (updated!)

      +
      +
    • +
    • +
      p: number[]
      +

      path

      +
      +
    +

    Returns any[]

    x \: [i₀][i₁][...] | [i₀, i₁, ...] = p

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/remove_.html b/functions/remove_.html new file mode 100644 index 000000000..66e82d3e9 --- /dev/null +++ b/functions/remove_.html @@ -0,0 +1,328 @@ +remove$ | extra-array
+
+ +
+
+
+
+ +

Function remove$

+
+
    + +
  • +

    Remove value at index!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      index

      +
      +
    +

    Returns T[]

    x \: [i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/repeat.html b/functions/repeat.html new file mode 100644 index 000000000..1b345bb55 --- /dev/null +++ b/functions/repeat.html @@ -0,0 +1,328 @@ +repeat | extra-array
+
+ +
+
+
+
+ +

Function repeat

+
+
    + +
  • +

    Repeat an array given times.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 1
      +

      times [1]

      +
      +
    +

    Returns T[]

    x ⧺ x ⧺ ...(n times)

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/resize_.html b/functions/resize_.html new file mode 100644 index 000000000..9b049dd64 --- /dev/null +++ b/functions/resize_.html @@ -0,0 +1,333 @@ +resize$ | extra-array
+
+ +
+
+
+
+ +

Function resize$

+
+
    + +
  • +

    Resize an array to given length!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      new length

      +
      +
    • +
    • +
      vd: T
      +

      default value

      +
      +
    +

    Returns T[]

    resized x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/reverse.html b/functions/reverse.html new file mode 100644 index 000000000..21665d1da --- /dev/null +++ b/functions/reverse.html @@ -0,0 +1,323 @@ +reverse | extra-array
+
+ +
+
+
+
+ +

Function reverse

+
+
    + +
  • +

    Reverse the values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    [x[|x|-1], x[|x|-2], ..., x[1], x[0]]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/reverse_.html b/functions/reverse_.html new file mode 100644 index 000000000..994fd814c --- /dev/null +++ b/functions/reverse_.html @@ -0,0 +1,323 @@ +reverse$ | extra-array
+
+ +
+
+
+
+ +

Function reverse$

+
+
    + +
  • +

    Reverse the values!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    +

    Returns T[]

    x = [x[|x|-1], x[|x|-2], ..., x[1], x[0]]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rotate.html b/functions/rotate.html new file mode 100644 index 000000000..c2559b85b --- /dev/null +++ b/functions/rotate.html @@ -0,0 +1,328 @@ +rotate | extra-array
+
+ +
+
+
+
+ +

Function rotate

+
+
    + +
  • +

    Rotate values in array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 0
      +

      rotate amount (+ve: left, -ve: right) [0]

      +
      +
    +

    Returns T[]

    x[n..] ⧺ x[0..n]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/rotate_.html b/functions/rotate_.html new file mode 100644 index 000000000..dc2adc16a --- /dev/null +++ b/functions/rotate_.html @@ -0,0 +1,328 @@ +rotate$ | extra-array
+
+ +
+
+
+
+ +

Function rotate$

+
+
    + +
  • +

    Rotate values in array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      n: number = 0
      +

      rotate amount (+ve: left, -ve: right) [0]

      +
      +
    +

    Returns T[]

    x = x[n..] ⧺ x[0..n]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/scanUntil.html b/functions/scanUntil.html new file mode 100644 index 000000000..177f934a7 --- /dev/null +++ b/functions/scanUntil.html @@ -0,0 +1,328 @@ +scanUntil | extra-array
+
+ +
+
+
+
+ +

Function scanUntil

+
+
    + +
  • +

    Scan from left, until a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    first index where test passes

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/scanUntilRight.html b/functions/scanUntilRight.html new file mode 100644 index 000000000..059c69a6e --- /dev/null +++ b/functions/scanUntilRight.html @@ -0,0 +1,328 @@ +scanUntilRight | extra-array
+
+ +
+
+
+
+ +

Function scanUntilRight

+
+
    + +
  • +

    Scan from right, until a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    first index where test fails till end

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/scanWhile.html b/functions/scanWhile.html new file mode 100644 index 000000000..eb6f0177f --- /dev/null +++ b/functions/scanWhile.html @@ -0,0 +1,328 @@ +scanWhile | extra-array
+
+ +
+
+
+
+ +

Function scanWhile

+
+
    + +
  • +

    Scan from left, while a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    first index where test fails

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/scanWhileRight.html b/functions/scanWhileRight.html new file mode 100644 index 000000000..872311714 --- /dev/null +++ b/functions/scanWhileRight.html @@ -0,0 +1,328 @@ +scanWhileRight | extra-array
+
+ +
+
+
+
+ +

Function scanWhileRight

+
+
    + +
  • +

    Scan from right, while a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    first index where test passes till end

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/search.html b/functions/search.html new file mode 100644 index 000000000..10865972f --- /dev/null +++ b/functions/search.html @@ -0,0 +1,328 @@ +search | extra-array
+
+ +
+
+
+
+ +

Function search

+
+
    + +
  • +

    Find index of first value passing a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    first index of value, -1 if not found

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchAdjacentDuplicateValue.html b/functions/searchAdjacentDuplicateValue.html new file mode 100644 index 000000000..282ebe461 --- /dev/null +++ b/functions/searchAdjacentDuplicateValue.html @@ -0,0 +1,335 @@ +searchAdjacentDuplicateValue | extra-array
+
+ +
+
+
+
+ +

Function searchAdjacentDuplicateValue

+
+
    + +
  • +

    Find first index of an adjacent duplicate value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    index of first adjacent duplicate value, -1 if none

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchAll.html b/functions/searchAll.html new file mode 100644 index 000000000..05384f89b --- /dev/null +++ b/functions/searchAll.html @@ -0,0 +1,328 @@ +searchAll | extra-array
+
+ +
+
+
+
+ +

Function searchAll

+
+
    + +
  • +

    Find indices of values passing a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number[]

    indices of value

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchInfix.html b/functions/searchInfix.html new file mode 100644 index 000000000..d9a249227 --- /dev/null +++ b/functions/searchInfix.html @@ -0,0 +1,340 @@ +searchInfix | extra-array
+
+ +
+
+
+
+ +

Function searchInfix

+
+
    + +
  • +

    Find first index of an infix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search infix

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    first i | x[i..i+|y|] = y else -1

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchInfixAll.html b/functions/searchInfixAll.html new file mode 100644 index 000000000..3a1c2d755 --- /dev/null +++ b/functions/searchInfixAll.html @@ -0,0 +1,340 @@ +searchInfixAll | extra-array
+
+ +
+
+
+
+ +

Function searchInfixAll

+
+
    + +
  • +

    Find indices of an infix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search infix

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number[]

    i₀, i₁, ... | x[j..j+|y|] = y; j ∈ [i₀, i₁, ...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchInfixRight.html b/functions/searchInfixRight.html new file mode 100644 index 000000000..2e0005351 --- /dev/null +++ b/functions/searchInfixRight.html @@ -0,0 +1,340 @@ +searchInfixRight | extra-array
+
+ +
+
+
+
+ +

Function searchInfixRight

+
+
    + +
  • +

    Find last index of an infix.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search infix

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    first i | x[i..i+|y|] = y else -1

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchMaximumValue.html b/functions/searchMaximumValue.html new file mode 100644 index 000000000..c167097fb --- /dev/null +++ b/functions/searchMaximumValue.html @@ -0,0 +1,335 @@ +searchMaximumValue | extra-array
+
+ +
+
+
+
+ +

Function searchMaximumValue

+
+
    + +
  • +

    Find first index of maximum value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    first index of maximum value, -1 if empty

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchMaximumValues.html b/functions/searchMaximumValues.html new file mode 100644 index 000000000..2c9ef2106 --- /dev/null +++ b/functions/searchMaximumValues.html @@ -0,0 +1,340 @@ +searchMaximumValues | extra-array
+
+ +
+
+
+
+ +

Function searchMaximumValues

+
+
    + +
  • +

    Find indices of maximum values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number[]

    indices of maximum values in descending order

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchMinimumValue.html b/functions/searchMinimumValue.html new file mode 100644 index 000000000..5c8f263d1 --- /dev/null +++ b/functions/searchMinimumValue.html @@ -0,0 +1,335 @@ +searchMinimumValue | extra-array
+
+ +
+
+
+
+ +

Function searchMinimumValue

+
+
    + +
  • +

    Find first index of minimum value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    first index of minimum value, -1 if empty

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchMinimumValues.html b/functions/searchMinimumValues.html new file mode 100644 index 000000000..2b760d95a --- /dev/null +++ b/functions/searchMinimumValues.html @@ -0,0 +1,340 @@ +searchMinimumValues | extra-array
+
+ +
+
+
+
+ +

Function searchMinimumValues

+
+
    + +
  • +

    Find indices of minimum values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number
      +

      number of values

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number[]

    indices of minimum values in ascending order

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchMismatchedValue.html b/functions/searchMismatchedValue.html new file mode 100644 index 000000000..5f2a5394b --- /dev/null +++ b/functions/searchMismatchedValue.html @@ -0,0 +1,340 @@ +searchMismatchedValue | extra-array
+
+ +
+
+
+
+ +

Function searchMismatchedValue

+
+
    + +
  • +

    Find first index where two arrays differ.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    first index where x[i] ≠ y[i], or -1

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchRight.html b/functions/searchRight.html new file mode 100644 index 000000000..e22cc8876 --- /dev/null +++ b/functions/searchRight.html @@ -0,0 +1,328 @@ +searchRight | extra-array
+
+ +
+
+
+
+ +

Function searchRight

+
+
    + +
  • +

    Find index of last value passing a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns number

    last index of value, -1 if not found

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchSubsequence.html b/functions/searchSubsequence.html new file mode 100644 index 000000000..5fdeba667 --- /dev/null +++ b/functions/searchSubsequence.html @@ -0,0 +1,340 @@ +searchSubsequence | extra-array
+
+ +
+
+
+
+ +

Function searchSubsequence

+
+
    + +
  • +

    Find first index of a subsequence.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      search subsequence

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    begin index of subsequence, -1 if not found

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchUnsortedValue.html b/functions/searchUnsortedValue.html new file mode 100644 index 000000000..e7ed1d4e9 --- /dev/null +++ b/functions/searchUnsortedValue.html @@ -0,0 +1,335 @@ +searchUnsortedValue | extra-array
+
+ +
+
+
+
+ +

Function searchUnsortedValue

+
+
    + +
  • +

    Find first index of an unsorted value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    index of first unsorted value, -1 if sorted

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchValue.html b/functions/searchValue.html new file mode 100644 index 000000000..58a425413 --- /dev/null +++ b/functions/searchValue.html @@ -0,0 +1,340 @@ +searchValue | extra-array
+
+ +
+
+
+
+ +

Function searchValue

+
+
    + +
  • +

    Find first index of a value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    first index of value, -1 if not found

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchValueAll.html b/functions/searchValueAll.html new file mode 100644 index 000000000..e212503f0 --- /dev/null +++ b/functions/searchValueAll.html @@ -0,0 +1,340 @@ +searchValueAll | extra-array
+
+ +
+
+
+
+ +

Function searchValueAll

+
+
    + +
  • +

    Find indices of value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number[]

    indices of value

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/searchValueRight.html b/functions/searchValueRight.html new file mode 100644 index 000000000..1039951a5 --- /dev/null +++ b/functions/searchValueRight.html @@ -0,0 +1,340 @@ +searchValueRight | extra-array
+
+ +
+
+
+
+ +

Function searchValueRight

+
+
    + +
  • +

    Find last index of a value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      v: T
      +

      search value

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns number

    last index of value, -1 if not found

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/set.html b/functions/set.html new file mode 100644 index 000000000..28c76eb75 --- /dev/null +++ b/functions/set.html @@ -0,0 +1,333 @@ +set | extra-array
+
+ +
+
+
+
+ +

Function set

+
+
    + +
  • +

    Set value at index.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      index

      +
      +
    • +
    • +
      v: T
      +

      value

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i] = v

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/setPath_.html b/functions/setPath_.html new file mode 100644 index 000000000..a761f989b --- /dev/null +++ b/functions/setPath_.html @@ -0,0 +1,328 @@ +setPath$ | extra-array
+
+ +
+
+
+
+ +

Function setPath$

+
+
    + +
  • +

    Set value at path in a nested array!

    +
    +
    +

    Parameters

    +
      +
    • +
      x: any[]
      +

      a nested array (updated!)

      +
      +
    • +
    • +
      p: number[]
      +

      path

      +
      +
    • +
    • +
      v: any
      +

      value

      +
      +
    +

    Returns any[]

    x | x[i₀][i₁][...] = v; [i₀, i₁, ...] = p

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/set_.html b/functions/set_.html new file mode 100644 index 000000000..671104906 --- /dev/null +++ b/functions/set_.html @@ -0,0 +1,333 @@ +set$ | extra-array
+
+ +
+
+
+
+ +

Function set$

+
+
    + +
  • +

    Set value at index!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      index

      +
      +
    • +
    • +
      v: T
      +

      value

      +
      +
    +

    Returns T[]

    x | x[i] = v

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/shallowClone.html b/functions/shallowClone.html new file mode 100644 index 000000000..e90a05eb1 --- /dev/null +++ b/functions/shallowClone.html @@ -0,0 +1,323 @@ +shallowClone | extra-array
+
+ +
+
+
+
+ +

Function shallowClone

+
+
    + +
  • +

    Shallow clone an array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    shallow clone of x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/shift.html b/functions/shift.html new file mode 100644 index 000000000..c32f1d4d6 --- /dev/null +++ b/functions/shift.html @@ -0,0 +1,323 @@ +shift | extra-array
+
+ +
+
+
+
+ +

Function shift

+
+
    + +
  • +

    Remove first value.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    x[1..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/shift_.html b/functions/shift_.html new file mode 100644 index 000000000..8e7d8e192 --- /dev/null +++ b/functions/shift_.html @@ -0,0 +1,323 @@ +shift$ | extra-array
+
+ +
+
+
+
+ +

Function shift$

+
+
    + +
  • +

    Remove first value!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    +

    Returns T[]

    x = x[1..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/slice.html b/functions/slice.html new file mode 100644 index 000000000..56c5c082b --- /dev/null +++ b/functions/slice.html @@ -0,0 +1,333 @@ +slice | extra-array
+
+ +
+
+
+
+ +

Function slice

+
+
    + +
  • +

    Get part of an array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number = 0
      +

      begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      end index [|x|]

      +
      +
    +

    Returns T[]

    x[i..I]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/slice_.html b/functions/slice_.html new file mode 100644 index 000000000..8f403e860 --- /dev/null +++ b/functions/slice_.html @@ -0,0 +1,333 @@ +slice$ | extra-array
+
+ +
+
+
+
+ +

Function slice$

+
+
    + +
  • +

    Get part of an array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number = 0
      +

      begin index [0]

      +
      +
    • +
    • +
      I: number = x.length
      +

      end index [|x|]

      +
      +
    +

    Returns T[]

    x = x[i..I]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/some.html b/functions/some.html new file mode 100644 index 000000000..5d9ee1ceb --- /dev/null +++ b/functions/some.html @@ -0,0 +1,328 @@ +some | extra-array
+
+ +
+
+
+
+ +

Function some

+
+
    + +
  • +

    Examine if any value satisfies a test.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T> = null
      +

      test function (v, i, x)

      +
      +
    +

    Returns boolean

    true if ft(vᵢ) = true for some vᵢ ∈ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/sort.html b/functions/sort.html new file mode 100644 index 000000000..1c2435212 --- /dev/null +++ b/functions/sort.html @@ -0,0 +1,340 @@ +sort | extra-array
+
+ +
+
+
+
+ +

Function sort

+
+
    + +
  • +

    Arrange values in order.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i] ≤ x'[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/sort_.html b/functions/sort_.html new file mode 100644 index 000000000..188d1e919 --- /dev/null +++ b/functions/sort_.html @@ -0,0 +1,340 @@ +sort$ | extra-array
+
+ +
+
+
+
+ +

Function sort$

+
+
    + +
  • +

    Arrange values in order!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    • +
    • +
      fs: SwapFunction<T> = null
      +

      swap function (x, i, j)

      +
      +
    +

    Returns T[]

    x | x[i] ≤ x[j] ∀ i ≤ j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/splice.html b/functions/splice.html new file mode 100644 index 000000000..a147b3a02 --- /dev/null +++ b/functions/splice.html @@ -0,0 +1,338 @@ +splice | extra-array
+
+ +
+
+
+
+ +

Function splice

+
+
    + +
  • +

    Remove or replace existing values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      remove ±index

      +
      +
    • +
    • +
      n: number = x.length
      +

      number of values to remove [rest]

      +
      +
    • +
    • +
      Rest ...vs: T[]
      +

      values to insert

      +
      +
    +

    Returns T[]

    x[0..i] ⧺ vs ⧺ x[i+n..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/splice_.html b/functions/splice_.html new file mode 100644 index 000000000..6e9e87043 --- /dev/null +++ b/functions/splice_.html @@ -0,0 +1,338 @@ +splice$ | extra-array
+
+ +
+
+
+
+ +

Function splice$

+
+
    + +
  • +

    Remove or replace existing values!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      remove ±index

      +
      +
    • +
    • +
      n: number = x.length
      +

      number of values to remove [rest]

      +
      +
    • +
    • +
      Rest ...vs: T[]
      +

      values to insert

      +
      +
    +

    Returns T[]

    x = x[0..i] ⧺ vs ⧺ x[i+n..]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/split.html b/functions/split.html new file mode 100644 index 000000000..8b42ef877 --- /dev/null +++ b/functions/split.html @@ -0,0 +1,328 @@ +split | extra-array
+
+ +
+
+
+
+ +

Function split

+
+
    + +
  • +

    Break array considering test as separator.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[][]

    [x[j..k], x[l..m], ...] | ft(x[i]) = true; i = 0..j / k..l / ...

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/splitAt.html b/functions/splitAt.html new file mode 100644 index 000000000..d7858b6d9 --- /dev/null +++ b/functions/splitAt.html @@ -0,0 +1,328 @@ +splitAt | extra-array
+
+ +
+
+
+
+ +

Function splitAt

+
+
    + +
  • +

    Break array considering indices as separator.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      is: number[]
      +

      indices (sorted)

      +
      +
    +

    Returns T[][]

    [x[j..k], x[l..m], ...] | ft(x[i]) = true; i = 0..j / k..l / ...; i ∈ is

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/subsequences.html b/functions/subsequences.html new file mode 100644 index 000000000..ae1e6062b --- /dev/null +++ b/functions/subsequences.html @@ -0,0 +1,328 @@ +subsequences | extra-array
+
+ +
+
+
+
+ +

Function subsequences

+
+
    + +
  • +

    Obtain all possible subsequences.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns T[][]

    [elements selected by bit from 0..2^|x|] if n<0; [only of length n] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/suffixes.html b/functions/suffixes.html new file mode 100644 index 000000000..508d5c942 --- /dev/null +++ b/functions/suffixes.html @@ -0,0 +1,328 @@ +suffixes | extra-array
+
+ +
+
+
+
+ +

Function suffixes

+
+
    + +
  • +

    Obtain all possible suffixes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = -1
      +

      number of values [-1 ⇒ any]

      +
      +
    +

    Returns T[][]

    [x[0..], x[1..], x[2..], ...] if n<0; [x[-n..]] otherwise

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/swap.html b/functions/swap.html new file mode 100644 index 000000000..af08677f5 --- /dev/null +++ b/functions/swap.html @@ -0,0 +1,333 @@ +swap | extra-array
+
+ +
+
+
+
+ +

Function swap

+
+
    + +
  • +

    Exchange two values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      an index

      +
      +
    • +
    • +
      j: number
      +

      another index

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i] = x[j]; x'[j] = x[i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/swapRanges.html b/functions/swapRanges.html new file mode 100644 index 000000000..8ce2a51c6 --- /dev/null +++ b/functions/swapRanges.html @@ -0,0 +1,343 @@ +swapRanges | extra-array
+
+ +
+
+
+
+ +

Function swapRanges

+
+
    + +
  • +

    Exchange two ranges of values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      i: number
      +

      begin index of first range

      +
      +
    • +
    • +
      I: number
      +

      end index of first range (exclusive)

      +
      +
    • +
    • +
      j: number
      +

      begin index of second range

      +
      +
    • +
    • +
      J: number
      +

      end index of second range (exclusive)

      +
      +
    +

    Returns T[]

    x' | x' = x; x'[i..I] = x[j..J]; x'[j..J] = x[i..I]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/swapRanges_.html b/functions/swapRanges_.html new file mode 100644 index 000000000..849f3b959 --- /dev/null +++ b/functions/swapRanges_.html @@ -0,0 +1,343 @@ +swapRanges$ | extra-array
+
+ +
+
+
+
+ +

Function swapRanges$

+
+
    + +
  • +

    Exchange two ranges of values!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      begin index of first range

      +
      +
    • +
    • +
      I: number
      +

      end index of first range (exclusive)

      +
      +
    • +
    • +
      j: number
      +

      begin index of second range

      +
      +
    • +
    • +
      J: number
      +

      end index of second range (exclusive)

      +
      +
    +

    Returns T[]

    x | x[i..I] ⇔ x[j..J]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/swap_.html b/functions/swap_.html new file mode 100644 index 000000000..47def169b --- /dev/null +++ b/functions/swap_.html @@ -0,0 +1,333 @@ +swap$ | extra-array
+
+ +
+
+
+
+ +

Function swap$

+
+
    + +
  • +

    Exchange two values!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      i: number
      +

      an index

      +
      +
    • +
    • +
      j: number
      +

      another index

      +
      +
    +

    Returns T[]

    x | x[i] ⇔ x[j]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/symmetricDifference.html b/functions/symmetricDifference.html new file mode 100644 index 000000000..77ab4e50a --- /dev/null +++ b/functions/symmetricDifference.html @@ -0,0 +1,340 @@ +symmetricDifference | extra-array
+
+ +
+
+
+
+ +

Function symmetricDifference

+
+
    + +
  • +

    Obtain values not present in both arrays.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    x-y ∪ y-x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/tail.html b/functions/tail.html new file mode 100644 index 000000000..0a2b7c6ba --- /dev/null +++ b/functions/tail.html @@ -0,0 +1,323 @@ +tail | extra-array
+
+ +
+
+
+
+ +

Function tail

+
+
    + +
  • +

    Get values except first.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    x[1..|x|]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/take.html b/functions/take.html new file mode 100644 index 000000000..02db965b3 --- /dev/null +++ b/functions/take.html @@ -0,0 +1,328 @@ +take | extra-array
+
+ +
+
+
+
+ +

Function take

+
+
    + +
  • +

    Keep first n values only.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 1
      +

      number of values [1]

      +
      +
    +

    Returns T[]

    x[0..n]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/takeRight.html b/functions/takeRight.html new file mode 100644 index 000000000..38736bee3 --- /dev/null +++ b/functions/takeRight.html @@ -0,0 +1,328 @@ +takeRight | extra-array
+
+ +
+
+
+
+ +

Function takeRight

+
+
    + +
  • +

    Keep last n values only.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      n: number = 1
      +

      number of values [1]

      +
      +
    +

    Returns T[]

    x[0..n]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/takeWhile.html b/functions/takeWhile.html new file mode 100644 index 000000000..c7d141f01 --- /dev/null +++ b/functions/takeWhile.html @@ -0,0 +1,328 @@ +takeWhile | extra-array
+
+ +
+
+
+
+ +

Function takeWhile

+
+
    + +
  • +

    Keep values from left, while a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    x[0..T-1] | ft(x[i]) = true ∀ i ∈ [0, T-1] & ft(x[T]) = false

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/takeWhileRight.html b/functions/takeWhileRight.html new file mode 100644 index 000000000..47ff1b410 --- /dev/null +++ b/functions/takeWhileRight.html @@ -0,0 +1,328 @@ +takeWhileRight | extra-array
+
+ +
+
+
+
+ +

Function takeWhileRight

+
+
    + +
  • +

    Keep values from right, while a test passes.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      ft: TestFunction<T>
      +

      test function (v, i, x)

      +
      +
    +

    Returns T[]

    x[T..] | ft(x[i]) = true ∀ i ∈ [T, |x|-1] & ft(x[T-1]) = false

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/union.html b/functions/union.html new file mode 100644 index 000000000..7d18f9a0f --- /dev/null +++ b/functions/union.html @@ -0,0 +1,340 @@ +union | extra-array
+
+ +
+
+
+
+ +

Function union

+
+
    + +
  • +

    Obtain values present in any array.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    x ∪ y = {v | v ∈ x or v ∈ y}

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/union_.html b/functions/union_.html new file mode 100644 index 000000000..109d8d3d3 --- /dev/null +++ b/functions/union_.html @@ -0,0 +1,340 @@ +union$ | extra-array
+
+ +
+
+
+
+ +

Function union$

+
+
    + +
  • +

    Obtain values present in any array!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      y: T[]
      +

      another array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    x = x ∪ y = {v | v ∈ x or v ∈ y}

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/unique.html b/functions/unique.html new file mode 100644 index 000000000..db57548b7 --- /dev/null +++ b/functions/unique.html @@ -0,0 +1,335 @@ +unique | extra-array
+
+ +
+
+
+
+ +

Function unique

+
+
    + +
  • +

    Remove duplicate values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    • +
    • +
      fc: CompareFunction<T | U> = null
      +

      compare function (a, b)

      +
      +
    • +
    • +
      fm: MapFunction<T, T | U> = null
      +

      map function (v, i, x)

      +
      +
    +

    Returns T[]

    v₀, v₁, ... | vᵢ ∈ x; vᵢ ≠ vⱼ ∀ i, j

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/unshift.html b/functions/unshift.html new file mode 100644 index 000000000..89127147f --- /dev/null +++ b/functions/unshift.html @@ -0,0 +1,328 @@ +unshift | extra-array
+
+ +
+
+
+
+ +

Function unshift

+
+
    + +
  • +

    Add values to the start.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: Iterable<T>
      +

      an array

      +
      +
    • +
    • +
      Rest ...vs: T[]
      +

      values to add

      +
      +
    +

    Returns T[]

    vs ⧺ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/unshift_.html b/functions/unshift_.html new file mode 100644 index 000000000..3db3701cf --- /dev/null +++ b/functions/unshift_.html @@ -0,0 +1,328 @@ +unshift$ | extra-array
+
+ +
+
+
+
+ +

Function unshift$

+
+
    + +
  • +

    Add values to the start!

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array (updated!)

      +
      +
    • +
    • +
      Rest ...vs: T[]
      +

      values to add

      +
      +
    +

    Returns T[]

    x = vs ⧺ x

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/values.html b/functions/values.html new file mode 100644 index 000000000..6c89f40f6 --- /dev/null +++ b/functions/values.html @@ -0,0 +1,323 @@ +values | extra-array
+
+ +
+
+
+
+ +

Function values

+
+
    + +
  • +

    Get all values.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    +
    +

    Parameters

    +
      +
    • +
      x: T[]
      +

      an array

      +
      +
    +

    Returns T[]

    [v₀, v₁, ...] | vᵢ = x[i]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/functions/zip.html b/functions/zip.html new file mode 100644 index 000000000..99e5ee4cd --- /dev/null +++ b/functions/zip.html @@ -0,0 +1,340 @@ +zip | extra-array
+
+ +
+
+
+
+ +

Function zip

+
+
    + +
  • +

    Combine values from arrays.

    +
    +
    +

    Type Parameters

    +
      +
    • +

      T

    • +
    • +

      U = T[]

    +
    +

    Parameters

    +
      +
    • +
      xs: T[][]
      +

      arrays

      +
      +
    • +
    • +
      fm: MapFunction<T[], U | T[]> = null
      +

      map function (vs, i)

      +
      +
    • +
    • +
      fe: EndFunction = null
      +

      end function (dones) [some]

      +
      +
    • +
    • +
      Optional vd: T
      +

      default value

      +
      +
    +

    Returns (T[] | U)[]

    [fm([x₀[0], x₁[0], ...]), fm([x₀[1], x₁[1], ...]), ...]

    + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 000000000..bf1bff20b --- /dev/null +++ b/index.html @@ -0,0 +1,1224 @@ +extra-array
+
+ +
+
+
+
+

extra-array

+

An array is a collection of values, stored contiguously.
+📦 Node.js, +🌐 Web, +📜 Files, +📰 Docs, +📘 Wiki.

+
+ + +

This package includes comprehensive set of array functions with which you can +generate an array, clone it, query about it, get non-negative +indices, manage its length, get/set elements, fully or partially +sort it, obtain minimum(s)/maximum(s), compare it with another +array, get a part of it, search a value, obtain all possible +arrangements or random arrangements, find an element, take/drop +elements or scan from its beginning or its end, search the index of a +part of it, perform functional operations, flatten multi-level arrays, +obtain prefix sum, manipulate it in various ways, count/partition +elements, split it, concatenate/join multiple arrays, rearrange +elements within it, or performing set operations upon it.

+

We use a consistent naming scheme that helps you quickly identify the functions +you need. All functions except from*() take array as 1st parameter. Some +functions operate on a specified range in the array and are called ranged*(), +such as rangedPartialSort(). Functions like swap() are pure and do not +modify the array itself, while functions like swap$() do modify (update) the +array itself. Some functions accept a map function for faster comparison, such +as unique(). Further, functions which return an iterable instead of an array +are prefixed with i, such as isubsequences(). We borrow some names from +other programming languages such as Haskell, Python, Java, and +Processing.

+

With this package, you can simplify the implementation of complex algorithms, +and be able to achieve your goals faster, regardless of your level of expertise. +Try it out today and discover how it can transform your development experience! +This package is available in Node.js and Web formats. To use it on the web, +simply use the extra_array global variable after loading with a <script> tag +from the jsDelivr CDN.

+
+

Stability: Experimental.

+
+
+

NOTE: The use of negative indices in certain functions such as slice() is +provided as a convenience for access elements from the end of the array. +However, negative indices can be thought of as referring to a virtual mirrored +version of the original array, which can be counter-intuitive and make it +harder to reason about the behavior of functions that use them. We are working +on a solution to this problem. Any suggestions are welcome.

+
+
+ +
const xarray = require('extra-array');
// import * as xarray from "extra-array";
// import * as xarray from "https://unpkg.com/extra-array/index.mjs"; (deno)

var x = [1, 2, 3];
xarray.get(x, -1);
// → 3

var x = [1, 2, 3, 4];
xarray.swap(x, 0, 1);
// → [ 2, 1, 3, 4 ]

var x = [1, 2, 3, 4];
xarray.rotate(x, 1);
// → [ 2, 3, 4, 1 ]

xarray.permutations([1, 2, 3]);
// → [
// [], [ 1 ],
// [ 2 ], [ 3 ],
// [ 1, 2 ], [ 1, 3 ],
// [ 2, 1 ], [ 2, 3 ],
// [ 3, 1 ], [ 3, 2 ],
// [ 1, 2, 3 ], [ 1, 3, 2 ],
// [ 2, 1, 3 ], [ 2, 3, 1 ],
// [ 3, 1, 2 ], [ 3, 2, 1 ]
// ] +
+
+
+ + + +

Index

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDescription
fromRangeGenerate array from given number range.
fromInvocationGenerate array from repeated function invocation.
fromApplicationGenerate array from repeated function application.
fromIterableConvert an iterable to array.
fromIterable$Convert an iterable to array!
shallowCloneShallow clone an array.
deepCloneDeep clone an array.
isCheck if value is an array.
keysObtain all indices.
valuesGet all values.
entriesObtain all index-value pairs.
indexGet zero-based index for an element in array.
indexRangeGet zero-based index range for part of array.
isEmptyCheck if an array is empty.
lengthFind the length of an array.
resize$Resize an array to given length!
clear$Remove all elements from an array!
getGet value at index.
getAllGet values at indices.
getPathGet value at path in a nested array.
hasPathCheck if nested array has a path.
setSet value at index.
set$Set value at index!
setPath$Set value at path in a nested array!
swapExchange two values.
swap$Exchange two values!
swapRangesExchange two ranges of values.
swapRanges$Exchange two ranges of values!
removeRemove value at index.
remove$Remove value at index!
removePath$Remove value at path in a nested array!
isSortedExamine if array is sorted.
hasUnsortedValueExamine if array has an unsorted value.
searchUnsortedValueFind first index of an unsorted value.
sortArrange values in order.
sort$Arrange values in order!
partialSortPartially arrange values in order.
partialSort$Partially arrange values in order!
minimumFind first smallest value.
minimumEntryFind first smallest entry.
maximumFind first largest value.
maximumEntryFind first largest entry.
rangeFind smallest and largest values.
rangeEntriesFind smallest and largest entries.
minimumsFind smallest values.
minimumEntriesFind smallest entries.
maximumsFind largest values.
maximumEntriesFind largest entries.
searchMinimumValueFind first index of minimum value.
searchMaximumValueFind first index of maximum value.
searchMinimumValuesFind indices of minimum values.
searchMaximumValuesFind indices of maximum values.
isEqualExamine if two arrays are equal.
compareCompare two arrays (lexicographically).
headGet first value.
tailGet values except first.
initGet values except last.
lastGet last value.
middleGet values from middle.
sliceGet part of an array.
slice$Get part of an array!
includesCheck if array has a value.
hasValueExamine if array has a value.
searchValueFind first index of a value.
searchValueRightFind last index of a value.
searchValueAllFind indices of value.
searchAdjacentDuplicateValueFind first index of an adjacent duplicate value.
searchMismatchedValueFind first index where two arrays differ.
hasPrefixExamine if array starts with a prefix.
hasSuffixExamine if array ends with a suffix.
hasInfixExamine if array contains an infix.
hasSubsequenceExamine if array has a subsequence.
hasPermutationExamine if array has a permutation.
prefixesObtain all possible prefixes.
suffixesObtain all possible suffixes.
infixesObtain all possible infixes.
subsequencesObtain all possible subsequences.
permutationsObtain all possible permutations.
searchInfixFind first index of an infix.
searchInfixRightFind last index of an infix.
searchInfixAllFind indices of an infix.
searchSubsequenceFind first index of a subsequence.
randomValuePick an arbitrary value.
randomPrefixPick an arbitrary prefix.
randomSuffixPick an arbitrary suffix.
randomInfixPick an arbitrary infix.
randomSubsequencePick an arbitrary subsequence.
randomPermutationPick an arbitrary permutation.
randomPermutation$Pick an arbitrary permutation!
findFind first value passing a test.
findRightFind last value passing a test.
takeKeep first n values only.
takeRightKeep last n values only.
takeWhileKeep values from left, while a test passes.
takeWhileRightKeep values from right, while a test passes.
dropDiscard first n values only.
dropRightDiscard last n values only.
dropWhileDiscard values from left, while a test passes.
dropWhileRightDiscard values from right, while a test passes.
scanWhileScan from left, while a test passes.
scanWhileRightScan from right, while a test passes.
scanUntilScan from left, until a test passes.
scanUntilRightScan from right, until a test passes.
indexOfFind first index of a value.
lastIndexOfFind last index of a value.
searchFind index of first value passing a test.
searchRightFind index of last value passing a test.
searchAllFind indices of values passing a test.
forEachCall a function for each value.
someExamine if any value satisfies a test.
everyExamine if all values satisfy a test.
mapTransform values of an array.
map$Transform values of an array!
reduceReduce values of array to a single value.
reduceRightReduce values from right, to a single value.
filterKeep values which pass a test.
filter$Keep values which pass a test!
filterAtKeep values at given indices.
rejectDiscard values which pass a test.
reject$Discard values which pass a test!
rejectAtDiscard values at given indices.
flatFlatten nested array to given depth.
flatMapFlatten nested array, based on map function.
exclusiveScanPerform exclusive prefix scan from left to right.
exclusiveScan$Perform exclusive prefix scan from left to right!
inclusiveScanPerform inclusive prefix scan from left to right.
inclusiveScan$Perform inclusive prefix scan from left to right!
adjacentCombineCombine adjacent values of an array.
adjacentCombine$Combine adjacent values of an array!
interspersePlace a separator between every value.
interpolateEstimate new values between existing ones.
intermixPlace values of an array between another.
interleavePlace values from iterables alternately.
zipCombine values from arrays.
fillFill with given value.
fill$Fill with given value!
pushAdd value to the end.
push$Add values to the end!
popRemove last value.
pop$Remove last value!
shiftRemove first value.
shift$Remove first value!
unshiftAdd values to the start.
unshift$Add values to the start!
copyCopy part of array to another.
copy$Copy part of array to another!
copyWithinCopy part of array within.
copyWithin$Copy part of array within!
moveWithinMove part of array within.
moveWithin$Move part of array within!
spliceRemove or replace existing values.
splice$Remove or replace existing values!
countCount values which satisfy a test.
countEachCount occurrences of each distinct value.
partitionSegregate values by test result.
partitionEachSegregate each distinct value.
splitBreak array considering test as separator.
splitAtBreak array considering indices as separator.
cutBreak array when test passes.
cutRightBreak array after test passes.
cutAtBreak array at given indices.
cutAtRightBreak array after given indices.
groupKeep similar values together and in order.
chunkBreak array into chunks of given size.
concatAppend values from arrays.
concat$Append values from arrays!
joinJoin values together into a string.
cycleObtain values that cycle through array.
repeatRepeat an array given times.
reverseReverse the values.
reverse$Reverse the values!
rotateRotate values in array.
rotate$Rotate values in array!
isUniqueExamine if there are no duplicate values.
isDisjointExamine if arrays have no value in common.
uniqueRemove duplicate values.
unionObtain values present in any array.
union$Obtain values present in any array!
intersectionObtain values present in both arrays.
differenceObtain values not present in another array.
symmetricDifferenceObtain values not present in both arrays.
cartesianProductObtain cartesian product of arrays.
+
+
+ + +

References

+
+
+ + +


+ORG +DOI +Coverage Status +Test Coverage +

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/modules.html b/modules.html new file mode 100644 index 000000000..6b0ce194d --- /dev/null +++ b/modules.html @@ -0,0 +1,739 @@ +extra-array
+
+ +
+
+
+
+

extra-array

+
+
+
+ +
+
+

References

+
+
+

Type Aliases

+
+
+

Functions

+
adjacentCombine +adjacentCombine$ +cartesianProduct +chunk +clear$ +compare +concat +concat$ +copy +copy$ +copyWithin +copyWithin$ +count +countEach +cut +cutAt +cutAtRight +cutRight +cycle +deepClone +difference +drop +dropRight +dropWhile +dropWhileRight +entries +every +exclusiveScan +exclusiveScan$ +fill +fill$ +filter +filter$ +filterAt +find +findRight +flat +flatMap +forEach +fromApplication +fromInvocation +fromIterable +fromIterable$ +fromRange +get +getAll +getPath +group +hasInfix +hasPath +hasPermutation +hasPrefix +hasSubsequence +hasSuffix +hasUnsortedValue +hasValue +head +ientries +iinfixes +ikeys +includes +inclusiveScan +inclusiveScan$ +index +indexOf +indexRange +infixes +init +interleave +intermix +interpolate +intersection +intersperse +ipermutations +iprefixes +is +isDisjoint +isEmpty +isEqual +isSorted +isUnique +isubsequences +isuffixes +ivalues +join +keys +last +lastIndexOf +length +map +map$ +maximum +maximumEntries +maximumEntry +maximums +middle +minimum +minimumEntries +minimumEntry +minimums +moveWithin +moveWithin$ +partialSort +partialSort$ +partition +partitionEach +permutations +pop +pop$ +prefixes +push +push$ +randomInfix +randomPermutation +randomPermutation$ +randomPrefix +randomSubsequence +randomSuffix +randomValue +range +rangeEntries +rangedPartialSort +rangedPartialSort$ +rangedSort +rangedSort$ +reduce +reduceRight +reject +reject$ +rejectAt +remove +remove$ +removePath$ +repeat +resize$ +reverse +reverse$ +rotate +rotate$ +scanUntil +scanUntilRight +scanWhile +scanWhileRight +search +searchAdjacentDuplicateValue +searchAll +searchInfix +searchInfixAll +searchInfixRight +searchMaximumValue +searchMaximumValues +searchMinimumValue +searchMinimumValues +searchMismatchedValue +searchRight +searchSubsequence +searchUnsortedValue +searchValue +searchValueAll +searchValueRight +set +set$ +setPath$ +shallowClone +shift +shift$ +slice +slice$ +some +sort +sort$ +splice +splice$ +split +splitAt +subsequences +suffixes +swap +swap$ +swapRanges +swapRanges$ +symmetricDifference +tail +take +takeRight +takeWhile +takeWhileRight +union +union$ +unique +unshift +unshift$ +values +zip +
+
+

References

+
+Renames and re-exports inclusiveScan
+
+Renames and re-exports every
+
+Renames and re-exports some
+
+Renames and re-exports push
+
+Renames and re-exports push$
+
+Renames and re-exports get
+
+Renames and re-exports last
+
+Renames and re-exports shallowClone
+
+Renames and re-exports countEach
+
+Renames and re-exports hasSuffix
+
+Renames and re-exports filter
+
+Renames and re-exports search
+
+Renames and re-exports searchRight
+
+Renames and re-exports head
+
+Renames and re-exports fromIterable
+
+Renames and re-exports fromIterable$
+
+Renames and re-exports fromApplication
+
+Renames and re-exports fromInvocation
+
+Renames and re-exports head
+
+Renames and re-exports partitionEach
+
+Renames and re-exports randomInfix
+
+Renames and re-exports take
+
+Renames and re-exports maximum
+
+Renames and re-exports maximumEntry
+
+Renames and re-exports minimum
+
+Renames and re-exports minimumEntry
+
+Renames and re-exports partitionEach
+
+Renames and re-exports randomPermutation
+
+Renames and re-exports randomPermutation$
+
+Renames and re-exports randomPermutation$
+
+Renames and re-exports pop
+
+Renames and re-exports pop
+
+Renames and re-exports shift
+
+Renames and re-exports shift$
+
+Renames and re-exports randomPrefix
+
+Renames and re-exports unshift
+
+Renames and re-exports unshift$
+
+Renames and re-exports push
+
+Renames and re-exports push$
+
+Renames and re-exports unshift
+
+Renames and re-exports unshift$
+
+Renames and re-exports takeRight
+
+Renames and re-exports searchAdjacentDuplicateValue
+
+Renames and re-exports searchMismatchedValue
+
+Renames and re-exports randomPermutation$
+
+Renames and re-exports length
+
+Renames and re-exports hasPrefix
+
+Renames and re-exports randomSubsequence
+
+Renames and re-exports randomSuffix
+
+Renames and re-exports reverse
+
+Renames and re-exports sort
+
+Renames and re-exports splice
+
+Renames and re-exports randomValue
+
+Renames and re-exports set
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/CombineFunction.html b/types/CombineFunction.html new file mode 100644 index 000000000..2b3c38185 --- /dev/null +++ b/types/CombineFunction.html @@ -0,0 +1,332 @@ +CombineFunction | extra-array
+
+ +
+
+
+
+ +

Type alias CombineFunction<T>

+
CombineFunction<T>: ((a, b) => T)
+
+

Type Parameters

+
    +
  • +

    T

+
+

Type declaration

+
    +
  • +
      +
    • (a, b): T
    • +
    • +

      Handle combining of two values.

      +
      +
      +

      Parameters

      +
        +
      • +
        a: T
        +

        a value

        +
        +
      • +
      • +
        b: T
        +

        another value

        +
        +
      +

      Returns T

      combined value

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/CompareFunction.html b/types/CompareFunction.html new file mode 100644 index 000000000..bb7705a5d --- /dev/null +++ b/types/CompareFunction.html @@ -0,0 +1,332 @@ +CompareFunction | extra-array
+
+ +
+
+
+
+ +

Type alias CompareFunction<T>

+
CompareFunction<T>: ((a, b) => number)
+
+

Type Parameters

+
    +
  • +

    T

+
+

Type declaration

+
    +
  • +
      +
    • (a, b): number
    • +
    • +

      Handle comparison of two values.

      +
      +
      +

      Parameters

      +
        +
      • +
        a: T
        +

        a value

        +
        +
      • +
      • +
        b: T
        +

        another value

        +
        +
      +

      Returns number

      a<b: -ve, a=b: 0, a>b: +ve

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/EndFunction.html b/types/EndFunction.html new file mode 100644 index 000000000..53bc247f4 --- /dev/null +++ b/types/EndFunction.html @@ -0,0 +1,322 @@ +EndFunction | extra-array
+
+ +
+
+
+
+ +

Type alias EndFunction

+
EndFunction: ((dones) => boolean)
+
+

Type declaration

+
    +
  • +
      +
    • (dones): boolean
    • +
    • +

      Handle ending of a combined array.

      +
      +
      +

      Parameters

      +
        +
      • +
        dones: boolean[]
        +

        iᵗʰ array done?

        +
        +
      +

      Returns boolean

      combined array done?

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Entries.html b/types/Entries.html new file mode 100644 index 000000000..ac1ef885e --- /dev/null +++ b/types/Entries.html @@ -0,0 +1,310 @@ +Entries | extra-array
+
+ +
+
+
+
+ +

Type alias Entries<T>

+
Entries<T>: [number, T][]
+

Entries is an array of index-value pairs, with unique indices.

+
+
+

Type Parameters

+
    +
  • +

    T

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/IEntries.html b/types/IEntries.html new file mode 100644 index 000000000..8714bf85f --- /dev/null +++ b/types/IEntries.html @@ -0,0 +1,310 @@ +IEntries | extra-array
+
+ +
+
+
+
+ +

Type alias IEntries<T>

+
IEntries<T>: Iterable<[number, T]>
+

IEntries is a list of index-value pairs, with unique indices.

+
+
+

Type Parameters

+
    +
  • +

    T

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ILists.html b/types/ILists.html new file mode 100644 index 000000000..7660cd37f --- /dev/null +++ b/types/ILists.html @@ -0,0 +1,310 @@ +ILists | extra-array
+
+ +
+
+
+
+ +

Type alias ILists<T>

+
ILists<T>: [Iterable<number>, Iterable<T>]
+

ILists is a pair of index iterable list and value iterable list, with unique indices.

+
+
+

Type Parameters

+
    +
  • +

    T

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/Lists.html b/types/Lists.html new file mode 100644 index 000000000..479eb8dbd --- /dev/null +++ b/types/Lists.html @@ -0,0 +1,310 @@ +Lists | extra-array
+
+ +
+
+
+
+ +

Type alias Lists<T>

+
Lists<T>: [number[], T[]]
+

Lists is a pair of index array and value array, with unique indices.

+
+
+

Type Parameters

+
    +
  • +

    T

+
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/MapFunction.html b/types/MapFunction.html new file mode 100644 index 000000000..826926a86 --- /dev/null +++ b/types/MapFunction.html @@ -0,0 +1,339 @@ +MapFunction | extra-array
+
+ +
+
+
+
+ +

Type alias MapFunction<T, U>

+
MapFunction<T, U>: ((v, i, x) => U)
+
+

Type Parameters

+
    +
  • +

    T

  • +
  • +

    U

+
+

Type declaration

+
    +
  • +
      +
    • (v, i, x): U
    • +
    • +

      Handle transformation of a value to another.

      +
      +
      +

      Parameters

      +
        +
      • +
        v: T
        +

        value in array

        +
        +
      • +
      • +
        i: number
        +

        index of value in array

        +
        +
      • +
      • +
        x: T[]
        +

        array containing the value

        +
        +
      +

      Returns U

      transformed value

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ProcessFunction.html b/types/ProcessFunction.html new file mode 100644 index 000000000..b01f78cfc --- /dev/null +++ b/types/ProcessFunction.html @@ -0,0 +1,336 @@ +ProcessFunction | extra-array
+
+ +
+
+
+
+ +

Type alias ProcessFunction<T>

+
ProcessFunction<T>: ((v, i, x) => void)
+
+

Type Parameters

+
    +
  • +

    T

+
+

Type declaration

+
    +
  • +
      +
    • (v, i, x): void
    • +
    • +

      Handle processing of values in an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        v: T
        +

        value in array

        +
        +
      • +
      • +
        i: number
        +

        index of value in array

        +
        +
      • +
      • +
        x: T[]
        +

        array containing the value

        +
        +
      +

      Returns void

      +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ReadFunction.html b/types/ReadFunction.html new file mode 100644 index 000000000..0f0cdc4f1 --- /dev/null +++ b/types/ReadFunction.html @@ -0,0 +1,319 @@ +ReadFunction | extra-array
+
+ +
+
+
+
+ +

Type alias ReadFunction<T>

+
ReadFunction<T>: (() => T)
+
+

Type Parameters

+
    +
  • +

    T

+
+

Type declaration

+
    +
  • +
      +
    • (): T
    • +
    • +

      Handle reading of a single value.

      +
      +

      Returns T

      value

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/ReduceFunction.html b/types/ReduceFunction.html new file mode 100644 index 000000000..9b66e76fd --- /dev/null +++ b/types/ReduceFunction.html @@ -0,0 +1,344 @@ +ReduceFunction | extra-array
+
+ +
+
+
+
+ +

Type alias ReduceFunction<T, U>

+
ReduceFunction<T, U>: ((acc, v, i, x) => U)
+
+

Type Parameters

+
    +
  • +

    T

  • +
  • +

    U

+
+

Type declaration

+
    +
  • +
      +
    • (acc, v, i, x): U
    • +
    • +

      Handle reduction of multiple values into a single value.

      +
      +
      +

      Parameters

      +
        +
      • +
        acc: U
        +

        accumulator (temporary result)

        +
        +
      • +
      • +
        v: T
        +

        value in array

        +
        +
      • +
      • +
        i: number
        +

        index of value in array

        +
        +
      • +
      • +
        x: T[]
        +

        array containing the value

        +
        +
      +

      Returns U

      reduced value

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/SwapFunction.html b/types/SwapFunction.html new file mode 100644 index 000000000..56222d22d --- /dev/null +++ b/types/SwapFunction.html @@ -0,0 +1,337 @@ +SwapFunction | extra-array
+
+ +
+
+
+
+ +

Type alias SwapFunction<T>

+
SwapFunction<T>: ((x, i, j) => T[])
+
+

Type Parameters

+
    +
  • +

    T

+
+

Type declaration

+
    +
  • +
      +
    • (x, i, j): T[]
    • +
    • +

      Handle swapping of two values in an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        x: T[]
        +

        an array (updated!)

        +
        +
      • +
      • +
        i: number
        +

        an index

        +
        +
      • +
      • +
        j: number
        +

        another index

        +
        +
      +

      Returns T[]

      x | x[i] ⇔ x[j]

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file diff --git a/types/TestFunction.html b/types/TestFunction.html new file mode 100644 index 000000000..a46126feb --- /dev/null +++ b/types/TestFunction.html @@ -0,0 +1,337 @@ +TestFunction | extra-array
+
+ +
+
+
+
+ +

Type alias TestFunction<T>

+
TestFunction<T>: ((v, i, x) => boolean)
+
+

Type Parameters

+
    +
  • +

    T

+
+

Type declaration

+
    +
  • +
      +
    • (v, i, x): boolean
    • +
    • +

      Handle selection of values in an array.

      +
      +
      +

      Parameters

      +
        +
      • +
        v: T
        +

        value in array

        +
        +
      • +
      • +
        i: number
        +

        index of value in array

        +
        +
      • +
      • +
        x: T[]
        +

        array containing the value

        +
        +
      +

      Returns boolean

      selected?

      + +
+
+ +
+
+

Generated using TypeDoc

+
\ No newline at end of file