standard-data-structures
Advanced tools
Comparing version 1.3.0 to 1.4.0
var typedoc = typedoc || {}; | ||
typedoc.search = typedoc.search || {}; | ||
typedoc.search.data = {"kinds":{"32":"Variable","128":"Class","256":"Interface","1024":"Property","2048":"Method","262144":"Accessor","2097152":"Object literal"},"rows":[{"id":0,"kind":256,"name":"ICollection","url":"interfaces/icollection.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":1,"kind":1024,"name":"asArray","url":"interfaces/icollection.html#asarray","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":2,"kind":2048,"name":"fold","url":"interfaces/icollection.html#fold","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":3,"kind":2048,"name":"map","url":"interfaces/icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":4,"kind":2048,"name":"reduce","url":"interfaces/icollection.html#reduce","classes":"tsd-kind-method tsd-parent-kind-interface","parent":"ICollection"},{"id":5,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":6,"kind":262144,"name":"empty","url":"classes/list.html#empty","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"List"},{"id":7,"kind":2048,"name":"of","url":"classes/list.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":8,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":9,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":10,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":11,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":12,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":13,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":14,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":15,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":16,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":17,"kind":2048,"name":"of","url":"classes/maxheap.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"MaxHeap"},{"id":18,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":19,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":20,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":21,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":22,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":23,"kind":2097152,"name":"immutable","url":"globals.html#immutable","classes":"tsd-kind-object-literal"},{"id":24,"kind":32,"name":"List","url":"globals.html#immutable.list","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"immutable"},{"id":25,"kind":2097152,"name":"mutable","url":"globals.html#mutable","classes":"tsd-kind-object-literal"},{"id":26,"kind":32,"name":"MaxHeap","url":"globals.html#mutable.maxheap","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"mutable"}]}; | ||
typedoc.search.data = {"kinds":{"32":"Variable","128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor","2097152":"Object literal"},"rows":[{"id":0,"kind":256,"name":"ICollection","url":"interfaces/icollection.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":1,"kind":1024,"name":"asArray","url":"interfaces/icollection.html#asarray","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":2,"kind":2048,"name":"fold","url":"interfaces/icollection.html#fold","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":3,"kind":2048,"name":"map","url":"interfaces/icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":4,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":5,"kind":262144,"name":"empty","url":"classes/list.html#empty","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"List"},{"id":6,"kind":2048,"name":"of","url":"classes/list.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":7,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":8,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":9,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":10,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":11,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":12,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":13,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":14,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":15,"kind":128,"name":"LinkedListNode","url":"classes/linkedlistnode.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":16,"kind":1024,"name":"left","url":"classes/linkedlistnode.html#left","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":17,"kind":1024,"name":"right","url":"classes/linkedlistnode.html#right","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":18,"kind":512,"name":"constructor","url":"classes/linkedlistnode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LinkedListNode"},{"id":19,"kind":1024,"name":"value","url":"classes/linkedlistnode.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":20,"kind":128,"name":"DoublyLinkedList","url":"classes/doublylinkedlist.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":21,"kind":262144,"name":"asArray","url":"classes/doublylinkedlist.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":22,"kind":2048,"name":"of","url":"classes/doublylinkedlist.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"DoublyLinkedList"},{"id":23,"kind":1024,"name":"length","url":"classes/doublylinkedlist.html#length","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":24,"kind":2048,"name":"add","url":"classes/doublylinkedlist.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":25,"kind":2048,"name":"fold","url":"classes/doublylinkedlist.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":26,"kind":262144,"name":"head","url":"classes/doublylinkedlist.html#head","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":27,"kind":2048,"name":"map","url":"classes/doublylinkedlist.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":28,"kind":2048,"name":"pop","url":"classes/doublylinkedlist.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":29,"kind":2048,"name":"remove","url":"classes/doublylinkedlist.html#remove","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":30,"kind":2048,"name":"shift","url":"classes/doublylinkedlist.html#shift","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":31,"kind":262144,"name":"tail","url":"classes/doublylinkedlist.html#tail","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":32,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":33,"kind":2048,"name":"of","url":"classes/maxheap.html#of","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"MaxHeap"},{"id":34,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":35,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":36,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":37,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":38,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":39,"kind":2097152,"name":"immutable","url":"globals.html#immutable","classes":"tsd-kind-object-literal"},{"id":40,"kind":32,"name":"List","url":"globals.html#immutable.list","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"immutable"},{"id":41,"kind":2097152,"name":"mutable","url":"globals.html#mutable","classes":"tsd-kind-object-literal"},{"id":42,"kind":32,"name":"DoublyLinkedList","url":"globals.html#mutable.doublylinkedlist","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"mutable"},{"id":43,"kind":32,"name":"MaxHeap","url":"globals.html#mutable.maxheap","classes":"tsd-kind-variable tsd-parent-kind-object-literal","parent":"mutable"}]}; |
import { List } from './src/immutable/list'; | ||
import { DoublyLinkedList } from './src/mutable/doublyLinkedList'; | ||
import { MaxHeap } from './src/mutable/maxHeap'; | ||
@@ -13,3 +14,4 @@ /** | ||
export declare const mutable: { | ||
DoublyLinkedList: typeof DoublyLinkedList; | ||
MaxHeap: typeof MaxHeap; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const list_1 = require("./src/immutable/list"); | ||
const doublyLinkedList_1 = require("./src/mutable/doublyLinkedList"); | ||
const maxHeap_1 = require("./src/mutable/maxHeap"); | ||
@@ -15,3 +16,4 @@ /** | ||
exports.mutable = { | ||
DoublyLinkedList: doublyLinkedList_1.DoublyLinkedList, | ||
MaxHeap: maxHeap_1.MaxHeap | ||
}; |
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"devDependencies": { | ||
@@ -33,0 +33,0 @@ "@types/chai": "^4.1.7", |
@@ -17,6 +17,2 @@ /** | ||
map<B>(ab: (a: A) => B): ICollection<B>; | ||
/** | ||
* Like `fold` but does not require a seed value | ||
*/ | ||
reduce(ab: (a: A, b: A) => A): A; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
625484
31
1827