standard-data-structures
Advanced tools
Comparing version 2.2.0 to 2.3.0
var typedoc = typedoc || {}; | ||
typedoc.search = typedoc.search || {}; | ||
typedoc.search.data = {"kinds":{"128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor"},"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":1024,"name":"isEmpty","url":"interfaces/icollection.html#isempty","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":3,"kind":2048,"name":"fold","url":"interfaces/icollection.html#fold","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":4,"kind":2048,"name":"map","url":"interfaces/icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":5,"kind":128,"name":"LinkedListNode","url":"classes/linkedlistnode.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":6,"kind":1024,"name":"left","url":"classes/linkedlistnode.html#left","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":7,"kind":1024,"name":"right","url":"classes/linkedlistnode.html#right","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":8,"kind":512,"name":"constructor","url":"classes/linkedlistnode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LinkedListNode"},{"id":9,"kind":1024,"name":"value","url":"classes/linkedlistnode.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":10,"kind":128,"name":"DoublyLinkedList","url":"classes/doublylinkedlist.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":11,"kind":262144,"name":"asArray","url":"classes/doublylinkedlist.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":12,"kind":262144,"name":"head","url":"classes/doublylinkedlist.html#head","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":13,"kind":262144,"name":"isEmpty","url":"classes/doublylinkedlist.html#isempty","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":14,"kind":262144,"name":"tail","url":"classes/doublylinkedlist.html#tail","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":15,"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":16,"kind":1024,"name":"length","url":"classes/doublylinkedlist.html#length","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":17,"kind":2048,"name":"add","url":"classes/doublylinkedlist.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":18,"kind":2048,"name":"empty","url":"classes/doublylinkedlist.html#empty","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":19,"kind":2048,"name":"fold","url":"classes/doublylinkedlist.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":20,"kind":2048,"name":"isConnected","url":"classes/doublylinkedlist.html#isconnected","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":21,"kind":2048,"name":"map","url":"classes/doublylinkedlist.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":22,"kind":2048,"name":"pop","url":"classes/doublylinkedlist.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":23,"kind":2048,"name":"remove","url":"classes/doublylinkedlist.html#remove","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":24,"kind":2048,"name":"shift","url":"classes/doublylinkedlist.html#shift","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":25,"kind":128,"name":"Either","url":"classes/either.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":26,"kind":2048,"name":"left","url":"classes/either.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":27,"kind":2048,"name":"neither","url":"classes/either.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Either"},{"id":28,"kind":2048,"name":"right","url":"classes/either.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":29,"kind":2048,"name":"try","url":"classes/either.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":30,"kind":2048,"name":"biChain","url":"classes/either.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":31,"kind":2048,"name":"biMap","url":"classes/either.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":32,"kind":2048,"name":"chain","url":"classes/either.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":33,"kind":2048,"name":"chainL","url":"classes/either.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":34,"kind":2048,"name":"chainR","url":"classes/either.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":35,"kind":2048,"name":"fold","url":"classes/either.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":36,"kind":2048,"name":"getLeftOrElse","url":"classes/either.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":37,"kind":2048,"name":"getRightOrElse","url":"classes/either.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":38,"kind":2048,"name":"map","url":"classes/either.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":39,"kind":2048,"name":"mapL","url":"classes/either.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":40,"kind":2048,"name":"mapR","url":"classes/either.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":41,"kind":128,"name":"Left","url":"classes/left.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":42,"kind":512,"name":"constructor","url":"classes/left.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Left"},{"id":43,"kind":1024,"name":"left","url":"classes/left.html#left-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Left"},{"id":44,"kind":2048,"name":"biChain","url":"classes/left.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Left"},{"id":45,"kind":2048,"name":"fold","url":"classes/left.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Left"},{"id":46,"kind":2048,"name":"getLeftOrElse","url":"classes/left.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Left"},{"id":47,"kind":2048,"name":"getRightOrElse","url":"classes/left.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Left"},{"id":48,"kind":2048,"name":"left","url":"classes/left.html#left-2","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":49,"kind":2048,"name":"neither","url":"classes/left.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Left"},{"id":50,"kind":2048,"name":"right","url":"classes/left.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":51,"kind":2048,"name":"try","url":"classes/left.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":52,"kind":2048,"name":"biMap","url":"classes/left.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":53,"kind":2048,"name":"chain","url":"classes/left.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":54,"kind":2048,"name":"chainL","url":"classes/left.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":55,"kind":2048,"name":"chainR","url":"classes/left.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":56,"kind":2048,"name":"map","url":"classes/left.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":57,"kind":2048,"name":"mapL","url":"classes/left.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":58,"kind":2048,"name":"mapR","url":"classes/left.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":59,"kind":128,"name":"Right","url":"classes/right.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":60,"kind":512,"name":"constructor","url":"classes/right.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Right"},{"id":61,"kind":1024,"name":"right","url":"classes/right.html#right-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Right"},{"id":62,"kind":2048,"name":"biChain","url":"classes/right.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Right"},{"id":63,"kind":2048,"name":"fold","url":"classes/right.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Right"},{"id":64,"kind":2048,"name":"getLeftOrElse","url":"classes/right.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Right"},{"id":65,"kind":2048,"name":"getRightOrElse","url":"classes/right.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Right"},{"id":66,"kind":2048,"name":"left","url":"classes/right.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":67,"kind":2048,"name":"neither","url":"classes/right.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Right"},{"id":68,"kind":2048,"name":"right","url":"classes/right.html#right-2","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":69,"kind":2048,"name":"try","url":"classes/right.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":70,"kind":2048,"name":"biMap","url":"classes/right.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":71,"kind":2048,"name":"chain","url":"classes/right.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":72,"kind":2048,"name":"chainL","url":"classes/right.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":73,"kind":2048,"name":"chainR","url":"classes/right.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":74,"kind":2048,"name":"map","url":"classes/right.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":75,"kind":2048,"name":"mapL","url":"classes/right.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":76,"kind":2048,"name":"mapR","url":"classes/right.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":77,"kind":128,"name":"Neither","url":"classes/neither.html","classes":"tsd-kind-class"},{"id":78,"kind":2048,"name":"biChain","url":"classes/neither.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Neither"},{"id":79,"kind":2048,"name":"fold","url":"classes/neither.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Neither"},{"id":80,"kind":2048,"name":"getLeftOrElse","url":"classes/neither.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Neither"},{"id":81,"kind":2048,"name":"getRightOrElse","url":"classes/neither.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Neither"},{"id":82,"kind":2048,"name":"left","url":"classes/neither.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":83,"kind":2048,"name":"neither","url":"classes/neither.html#neither-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":84,"kind":2048,"name":"right","url":"classes/neither.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":85,"kind":2048,"name":"try","url":"classes/neither.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":86,"kind":2048,"name":"biMap","url":"classes/neither.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":87,"kind":2048,"name":"chain","url":"classes/neither.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":88,"kind":2048,"name":"chainL","url":"classes/neither.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":89,"kind":2048,"name":"chainR","url":"classes/neither.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":90,"kind":2048,"name":"map","url":"classes/neither.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":91,"kind":2048,"name":"mapL","url":"classes/neither.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":92,"kind":2048,"name":"mapR","url":"classes/neither.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":93,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":94,"kind":2048,"name":"empty","url":"classes/list.html#empty","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":95,"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":96,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":97,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":98,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":99,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":100,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":101,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":102,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":103,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":104,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":105,"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":106,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":107,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":108,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":109,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":110,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":111,"kind":128,"name":"Option","url":"classes/option.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":112,"kind":2048,"name":"isNone","url":"classes/option.html#isnone-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":113,"kind":2048,"name":"isSome","url":"classes/option.html#issome-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":114,"kind":2048,"name":"none","url":"classes/option.html#none","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Option"},{"id":115,"kind":2048,"name":"some","url":"classes/option.html#some","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":116,"kind":1024,"name":"isNone","url":"classes/option.html#isnone","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Option"},{"id":117,"kind":262144,"name":"isSome","url":"classes/option.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Option"},{"id":118,"kind":2048,"name":"chain","url":"classes/option.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":119,"kind":2048,"name":"fold","url":"classes/option.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":120,"kind":2048,"name":"getOrElse","url":"classes/option.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Option"},{"id":121,"kind":2048,"name":"map","url":"classes/option.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":122,"kind":128,"name":"Some","url":"classes/some.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":123,"kind":512,"name":"constructor","url":"classes/some.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Some"},{"id":124,"kind":1024,"name":"value","url":"classes/some.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Some"},{"id":125,"kind":2048,"name":"chain","url":"classes/some.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Some"},{"id":126,"kind":2048,"name":"fold","url":"classes/some.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Some"},{"id":127,"kind":2048,"name":"getOrElse","url":"classes/some.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":128,"kind":262144,"name":"isNone","url":"classes/some.html#isnone","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":129,"kind":2048,"name":"isNone","url":"classes/some.html#isnone-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":130,"kind":2048,"name":"isSome","url":"classes/some.html#issome-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":131,"kind":2048,"name":"none","url":"classes/some.html#none","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Some"},{"id":132,"kind":2048,"name":"some","url":"classes/some.html#some-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":133,"kind":262144,"name":"isSome","url":"classes/some.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"Some"},{"id":134,"kind":2048,"name":"map","url":"classes/some.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Some"},{"id":135,"kind":128,"name":"None","url":"classes/none.html","classes":"tsd-kind-class"},{"id":136,"kind":2048,"name":"chain","url":"classes/none.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"None"},{"id":137,"kind":2048,"name":"fold","url":"classes/none.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"None"},{"id":138,"kind":2048,"name":"getOrElse","url":"classes/none.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":139,"kind":262144,"name":"isNone","url":"classes/none.html#isnone","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":140,"kind":2048,"name":"isNone","url":"classes/none.html#isnone-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":141,"kind":2048,"name":"isSome","url":"classes/none.html#issome-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":142,"kind":2048,"name":"none","url":"classes/none.html#none-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"None"},{"id":143,"kind":2048,"name":"some","url":"classes/none.html#some","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":144,"kind":262144,"name":"isSome","url":"classes/none.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"None"},{"id":145,"kind":2048,"name":"map","url":"classes/none.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"None"}]}; | ||
typedoc.search.data = {"kinds":{"128":"Class","256":"Interface","512":"Constructor","1024":"Property","2048":"Method","262144":"Accessor"},"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":1024,"name":"isEmpty","url":"interfaces/icollection.html#isempty","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"ICollection"},{"id":3,"kind":2048,"name":"fold","url":"interfaces/icollection.html#fold","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":4,"kind":2048,"name":"map","url":"interfaces/icollection.html#map","classes":"tsd-kind-method tsd-parent-kind-interface tsd-has-type-parameter","parent":"ICollection"},{"id":5,"kind":128,"name":"LinkedListNode","url":"classes/linkedlistnode.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":6,"kind":1024,"name":"left","url":"classes/linkedlistnode.html#left","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":7,"kind":1024,"name":"right","url":"classes/linkedlistnode.html#right","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":8,"kind":512,"name":"constructor","url":"classes/linkedlistnode.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"LinkedListNode"},{"id":9,"kind":1024,"name":"value","url":"classes/linkedlistnode.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"LinkedListNode"},{"id":10,"kind":128,"name":"DoublyLinkedList","url":"classes/doublylinkedlist.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":11,"kind":262144,"name":"asArray","url":"classes/doublylinkedlist.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":12,"kind":262144,"name":"head","url":"classes/doublylinkedlist.html#head","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":13,"kind":262144,"name":"isEmpty","url":"classes/doublylinkedlist.html#isempty","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":14,"kind":262144,"name":"tail","url":"classes/doublylinkedlist.html#tail","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":15,"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":16,"kind":1024,"name":"length","url":"classes/doublylinkedlist.html#length","classes":"tsd-kind-property tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":17,"kind":2048,"name":"add","url":"classes/doublylinkedlist.html#add","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":18,"kind":2048,"name":"empty","url":"classes/doublylinkedlist.html#empty","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":19,"kind":2048,"name":"fold","url":"classes/doublylinkedlist.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":20,"kind":2048,"name":"isConnected","url":"classes/doublylinkedlist.html#isconnected","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":21,"kind":2048,"name":"map","url":"classes/doublylinkedlist.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"DoublyLinkedList"},{"id":22,"kind":2048,"name":"pop","url":"classes/doublylinkedlist.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":23,"kind":2048,"name":"remove","url":"classes/doublylinkedlist.html#remove","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":24,"kind":2048,"name":"shift","url":"classes/doublylinkedlist.html#shift","classes":"tsd-kind-method tsd-parent-kind-class","parent":"DoublyLinkedList"},{"id":25,"kind":128,"name":"Either","url":"classes/either.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":26,"kind":2048,"name":"left","url":"classes/either.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":27,"kind":2048,"name":"neither","url":"classes/either.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Either"},{"id":28,"kind":2048,"name":"right","url":"classes/either.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":29,"kind":2048,"name":"try","url":"classes/either.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":30,"kind":2048,"name":"biChain","url":"classes/either.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":31,"kind":2048,"name":"biMap","url":"classes/either.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":32,"kind":2048,"name":"chain","url":"classes/either.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":33,"kind":2048,"name":"chainL","url":"classes/either.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":34,"kind":2048,"name":"chainR","url":"classes/either.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":35,"kind":2048,"name":"fold","url":"classes/either.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":36,"kind":2048,"name":"getLeftOrElse","url":"classes/either.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":37,"kind":2048,"name":"getRightOrElse","url":"classes/either.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":38,"kind":2048,"name":"map","url":"classes/either.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":39,"kind":2048,"name":"mapL","url":"classes/either.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":40,"kind":2048,"name":"mapR","url":"classes/either.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":41,"kind":128,"name":"Left","url":"classes/left.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":42,"kind":512,"name":"constructor","url":"classes/left.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Left"},{"id":43,"kind":1024,"name":"left","url":"classes/left.html#left-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Left"},{"id":44,"kind":2048,"name":"biChain","url":"classes/left.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Left"},{"id":45,"kind":2048,"name":"fold","url":"classes/left.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Left"},{"id":46,"kind":2048,"name":"getLeftOrElse","url":"classes/left.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Left"},{"id":47,"kind":2048,"name":"getRightOrElse","url":"classes/left.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Left"},{"id":48,"kind":2048,"name":"left","url":"classes/left.html#left-2","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":49,"kind":2048,"name":"neither","url":"classes/left.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Left"},{"id":50,"kind":2048,"name":"right","url":"classes/left.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":51,"kind":2048,"name":"try","url":"classes/left.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":52,"kind":2048,"name":"biMap","url":"classes/left.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":53,"kind":2048,"name":"chain","url":"classes/left.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":54,"kind":2048,"name":"chainL","url":"classes/left.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":55,"kind":2048,"name":"chainR","url":"classes/left.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":56,"kind":2048,"name":"map","url":"classes/left.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":57,"kind":2048,"name":"mapL","url":"classes/left.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":58,"kind":2048,"name":"mapR","url":"classes/left.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Left"},{"id":59,"kind":128,"name":"Right","url":"classes/right.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":60,"kind":512,"name":"constructor","url":"classes/right.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Right"},{"id":61,"kind":1024,"name":"right","url":"classes/right.html#right-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Right"},{"id":62,"kind":2048,"name":"biChain","url":"classes/right.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Right"},{"id":63,"kind":2048,"name":"fold","url":"classes/right.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Right"},{"id":64,"kind":2048,"name":"getLeftOrElse","url":"classes/right.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Right"},{"id":65,"kind":2048,"name":"getRightOrElse","url":"classes/right.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Right"},{"id":66,"kind":2048,"name":"left","url":"classes/right.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":67,"kind":2048,"name":"neither","url":"classes/right.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Right"},{"id":68,"kind":2048,"name":"right","url":"classes/right.html#right-2","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":69,"kind":2048,"name":"try","url":"classes/right.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":70,"kind":2048,"name":"biMap","url":"classes/right.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":71,"kind":2048,"name":"chain","url":"classes/right.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":72,"kind":2048,"name":"chainL","url":"classes/right.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":73,"kind":2048,"name":"chainR","url":"classes/right.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":74,"kind":2048,"name":"map","url":"classes/right.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":75,"kind":2048,"name":"mapL","url":"classes/right.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":76,"kind":2048,"name":"mapR","url":"classes/right.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Right"},{"id":77,"kind":128,"name":"Neither","url":"classes/neither.html","classes":"tsd-kind-class"},{"id":78,"kind":2048,"name":"biChain","url":"classes/neither.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Neither"},{"id":79,"kind":2048,"name":"fold","url":"classes/neither.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Neither"},{"id":80,"kind":2048,"name":"getLeftOrElse","url":"classes/neither.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Neither"},{"id":81,"kind":2048,"name":"getRightOrElse","url":"classes/neither.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Neither"},{"id":82,"kind":2048,"name":"left","url":"classes/neither.html#left","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":83,"kind":2048,"name":"neither","url":"classes/neither.html#neither-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":84,"kind":2048,"name":"right","url":"classes/neither.html#right","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":85,"kind":2048,"name":"try","url":"classes/neither.html#try","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":86,"kind":2048,"name":"biMap","url":"classes/neither.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":87,"kind":2048,"name":"chain","url":"classes/neither.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":88,"kind":2048,"name":"chainL","url":"classes/neither.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":89,"kind":2048,"name":"chainR","url":"classes/neither.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":90,"kind":2048,"name":"map","url":"classes/neither.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":91,"kind":2048,"name":"mapL","url":"classes/neither.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":92,"kind":2048,"name":"mapR","url":"classes/neither.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Neither"},{"id":93,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":94,"kind":2048,"name":"empty","url":"classes/list.html#empty","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"List"},{"id":95,"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":96,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":97,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":98,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":99,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":100,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":101,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":102,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":103,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":104,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":105,"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":106,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":107,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":108,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":109,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":110,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":111,"kind":128,"name":"NoSuchValueException","url":"classes/nosuchvalueexception.html","classes":"tsd-kind-class"},{"id":112,"kind":1024,"name":"name","url":"classes/nosuchvalueexception.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"NoSuchValueException"},{"id":113,"kind":1024,"name":"message","url":"classes/nosuchvalueexception.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"NoSuchValueException"},{"id":114,"kind":1024,"name":"stack","url":"classes/nosuchvalueexception.html#stack","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-overwrite tsd-is-inherited","parent":"NoSuchValueException"},{"id":115,"kind":1024,"name":"Error","url":"classes/nosuchvalueexception.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"NoSuchValueException"},{"id":116,"kind":128,"name":"Option","url":"classes/option.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":117,"kind":262144,"name":"isSome","url":"classes/option.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Option"},{"id":118,"kind":2048,"name":"fromEither","url":"classes/option.html#fromeither","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":119,"kind":2048,"name":"isNone","url":"classes/option.html#isnone-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":120,"kind":2048,"name":"isSome","url":"classes/option.html#issome-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":121,"kind":2048,"name":"none","url":"classes/option.html#none","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Option"},{"id":122,"kind":2048,"name":"some","url":"classes/option.html#some","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Option"},{"id":123,"kind":1024,"name":"asEither","url":"classes/option.html#aseither","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Option"},{"id":124,"kind":1024,"name":"isNone","url":"classes/option.html#isnone","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Option"},{"id":125,"kind":2048,"name":"chain","url":"classes/option.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":126,"kind":2048,"name":"fold","url":"classes/option.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":127,"kind":2048,"name":"getOrElse","url":"classes/option.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Option"},{"id":128,"kind":2048,"name":"map","url":"classes/option.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":129,"kind":128,"name":"Some","url":"classes/some.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":130,"kind":512,"name":"constructor","url":"classes/some.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Some"},{"id":131,"kind":1024,"name":"value","url":"classes/some.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Some"},{"id":132,"kind":2048,"name":"chain","url":"classes/some.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Some"},{"id":133,"kind":2048,"name":"fold","url":"classes/some.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"Some"},{"id":134,"kind":2048,"name":"getOrElse","url":"classes/some.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":135,"kind":262144,"name":"isNone","url":"classes/some.html#isnone","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":136,"kind":262144,"name":"asEither","url":"classes/some.html#aseither","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":137,"kind":262144,"name":"isSome","url":"classes/some.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"Some"},{"id":138,"kind":2048,"name":"fromEither","url":"classes/some.html#fromeither","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":139,"kind":2048,"name":"isNone","url":"classes/some.html#isnone-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":140,"kind":2048,"name":"isSome","url":"classes/some.html#issome-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":141,"kind":2048,"name":"none","url":"classes/some.html#none","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"Some"},{"id":142,"kind":2048,"name":"some","url":"classes/some.html#some-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Some"},{"id":143,"kind":2048,"name":"map","url":"classes/some.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"Some"},{"id":144,"kind":128,"name":"None","url":"classes/none.html","classes":"tsd-kind-class"},{"id":145,"kind":2048,"name":"chain","url":"classes/none.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"None"},{"id":146,"kind":2048,"name":"fold","url":"classes/none.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-overwrite","parent":"None"},{"id":147,"kind":2048,"name":"getOrElse","url":"classes/none.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":148,"kind":262144,"name":"isNone","url":"classes/none.html#isnone","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":149,"kind":262144,"name":"asEither","url":"classes/none.html#aseither","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":150,"kind":262144,"name":"isSome","url":"classes/none.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"None"},{"id":151,"kind":2048,"name":"fromEither","url":"classes/none.html#fromeither","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":152,"kind":2048,"name":"isNone","url":"classes/none.html#isnone-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":153,"kind":2048,"name":"isSome","url":"classes/none.html#issome-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":154,"kind":2048,"name":"none","url":"classes/none.html#none-1","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-inherited tsd-is-static","parent":"None"},{"id":155,"kind":2048,"name":"some","url":"classes/none.html#some","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"None"},{"id":156,"kind":2048,"name":"map","url":"classes/none.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited","parent":"None"}]}; |
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"devDependencies": { | ||
@@ -33,0 +33,0 @@ "@tusharmathur/typedoc": "^1.0.0", |
@@ -0,1 +1,3 @@ | ||
import { NoSuchValueException } from '../internals/noSuchValueException'; | ||
import { Either } from './either'; | ||
/** | ||
@@ -6,2 +8,10 @@ * Used to represent an optional value | ||
/** | ||
* Returns `true` if the instance is [[Some]] | ||
*/ | ||
readonly isSome: boolean; | ||
/** | ||
* Creates an [[Option]] from an [[Either]] | ||
*/ | ||
static fromEither<L, R>(either: Either<L, R>): Option<R>; | ||
/** | ||
* Checks if the Option type is of [[None]] type | ||
@@ -23,2 +33,6 @@ */ | ||
/** | ||
* Converts an [[Option]] to an [[Either]] | ||
*/ | ||
abstract asEither: Either<NoSuchValueException, A>; | ||
/** | ||
* Returns `true` if the instance is [[None]] | ||
@@ -28,6 +42,2 @@ */ | ||
/** | ||
* Returns `true` if the instance is [[Some]] | ||
*/ | ||
readonly isSome: boolean; | ||
/** | ||
* Flattens the [[Option]] type | ||
@@ -73,2 +83,6 @@ */ | ||
readonly isNone: boolean; | ||
/** | ||
* Refer [[Option.asEither]] | ||
*/ | ||
readonly asEither: Either<NoSuchValueException, A>; | ||
} | ||
@@ -95,2 +109,6 @@ /** | ||
readonly isNone: boolean; | ||
/** | ||
* Refer [[Option.asEither]] | ||
*/ | ||
readonly asEither: Either<NoSuchValueException, never>; | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* tslint:disable no-use-before-declare prefer-function-over-method */ | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const noSuchValueException_1 = require("../internals/noSuchValueException"); | ||
const either_1 = require("./either"); | ||
/** | ||
@@ -9,2 +11,14 @@ * Used to represent an optional value | ||
/** | ||
* Returns `true` if the instance is [[Some]] | ||
*/ | ||
get isSome() { | ||
return !this.isNone; | ||
} | ||
/** | ||
* Creates an [[Option]] from an [[Either]] | ||
*/ | ||
static fromEither(either) { | ||
return either.fold(Option.none(), () => Option.none(), Option.some); | ||
} | ||
/** | ||
* Checks if the Option type is of [[None]] type | ||
@@ -34,8 +48,2 @@ */ | ||
/** | ||
* Returns `true` if the instance is [[Some]] | ||
*/ | ||
get isSome() { | ||
return !this.isNone; | ||
} | ||
/** | ||
* Transforms the value inside the [[Option]] type. | ||
@@ -80,2 +88,8 @@ */ | ||
} | ||
/** | ||
* Refer [[Option.asEither]] | ||
*/ | ||
get asEither() { | ||
return either_1.Either.right(this.value); | ||
} | ||
} | ||
@@ -111,3 +125,9 @@ exports.Some = Some; | ||
} | ||
/** | ||
* Refer [[Option.asEither]] | ||
*/ | ||
get asEither() { | ||
return either_1.Either.left(new noSuchValueException_1.NoSuchValueException()); | ||
} | ||
} | ||
exports.None = None; |
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
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
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
959993
44
3032