standard-data-structures
Advanced tools
Comparing version 2.3.0 to 2.4.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":"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"}]}; | ||
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":"NoSuchValueException","url":"classes/nosuchvalueexception.html","classes":"tsd-kind-class"},{"id":26,"kind":1024,"name":"name","url":"classes/nosuchvalueexception.html#name","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"NoSuchValueException"},{"id":27,"kind":1024,"name":"message","url":"classes/nosuchvalueexception.html#message","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-inherited","parent":"NoSuchValueException"},{"id":28,"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":29,"kind":1024,"name":"Error","url":"classes/nosuchvalueexception.html#error","classes":"tsd-kind-property tsd-parent-kind-class tsd-is-static","parent":"NoSuchValueException"},{"id":30,"kind":128,"name":"Option","url":"classes/option.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":31,"kind":262144,"name":"isSome","url":"classes/option.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Option"},{"id":32,"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":33,"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":34,"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":35,"kind":2048,"name":"none","url":"classes/option.html#none","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Option"},{"id":36,"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":37,"kind":1024,"name":"asEither","url":"classes/option.html#aseither","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Option"},{"id":38,"kind":1024,"name":"isNone","url":"classes/option.html#isnone","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Option"},{"id":39,"kind":2048,"name":"chain","url":"classes/option.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":40,"kind":2048,"name":"fold","url":"classes/option.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":41,"kind":2048,"name":"getOrElse","url":"classes/option.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Option"},{"id":42,"kind":2048,"name":"map","url":"classes/option.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Option"},{"id":43,"kind":128,"name":"Some","url":"classes/some.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":44,"kind":512,"name":"constructor","url":"classes/some.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Some"},{"id":45,"kind":1024,"name":"value","url":"classes/some.html#value","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Some"},{"id":46,"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":47,"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":48,"kind":2048,"name":"getOrElse","url":"classes/some.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":49,"kind":262144,"name":"isNone","url":"classes/some.html#isnone","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":50,"kind":262144,"name":"asEither","url":"classes/some.html#aseither","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"Some"},{"id":51,"kind":262144,"name":"isSome","url":"classes/some.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"Some"},{"id":52,"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":53,"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":54,"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":55,"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":56,"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":57,"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":58,"kind":128,"name":"None","url":"classes/none.html","classes":"tsd-kind-class"},{"id":59,"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":60,"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":61,"kind":2048,"name":"getOrElse","url":"classes/none.html#getorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":62,"kind":262144,"name":"isNone","url":"classes/none.html#isnone","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":63,"kind":262144,"name":"asEither","url":"classes/none.html#aseither","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-overwrite","parent":"None"},{"id":64,"kind":262144,"name":"isSome","url":"classes/none.html#issome","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"None"},{"id":65,"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":66,"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":67,"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":68,"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":69,"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":70,"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"},{"id":71,"kind":128,"name":"Either","url":"classes/either.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":72,"kind":2048,"name":"fromOption","url":"classes/either.html#fromoption","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Either"},{"id":73,"kind":262144,"name":"asOption","url":"classes/either.html#asoption","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"Either"},{"id":74,"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":75,"kind":2048,"name":"neither","url":"classes/either.html#neither","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Either"},{"id":76,"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":77,"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":78,"kind":2048,"name":"biChain","url":"classes/either.html#bichain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":79,"kind":2048,"name":"biMap","url":"classes/either.html#bimap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":80,"kind":2048,"name":"chain","url":"classes/either.html#chain","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":81,"kind":2048,"name":"chainL","url":"classes/either.html#chainl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":82,"kind":2048,"name":"chainR","url":"classes/either.html#chainr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":83,"kind":2048,"name":"fold","url":"classes/either.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":84,"kind":2048,"name":"getLeftOrElse","url":"classes/either.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":85,"kind":2048,"name":"getRightOrElse","url":"classes/either.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Either"},{"id":86,"kind":2048,"name":"map","url":"classes/either.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":87,"kind":2048,"name":"mapL","url":"classes/either.html#mapl","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":88,"kind":2048,"name":"mapR","url":"classes/either.html#mapr","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Either"},{"id":89,"kind":128,"name":"Left","url":"classes/left.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":90,"kind":512,"name":"constructor","url":"classes/left.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Left"},{"id":91,"kind":1024,"name":"left","url":"classes/left.html#left-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Left"},{"id":92,"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":93,"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":94,"kind":2048,"name":"getLeftOrElse","url":"classes/left.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Left"},{"id":95,"kind":2048,"name":"getRightOrElse","url":"classes/left.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Left"},{"id":96,"kind":2048,"name":"fromOption","url":"classes/left.html#fromoption","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Left"},{"id":97,"kind":262144,"name":"asOption","url":"classes/left.html#asoption","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"Left"},{"id":98,"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":99,"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":100,"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":101,"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":102,"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":103,"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":104,"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":105,"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":106,"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":107,"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":108,"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":109,"kind":128,"name":"Right","url":"classes/right.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":110,"kind":512,"name":"constructor","url":"classes/right.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class","parent":"Right"},{"id":111,"kind":1024,"name":"right","url":"classes/right.html#right-1","classes":"tsd-kind-property tsd-parent-kind-class","parent":"Right"},{"id":112,"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":113,"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":114,"kind":2048,"name":"getLeftOrElse","url":"classes/right.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Right"},{"id":115,"kind":2048,"name":"getRightOrElse","url":"classes/right.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Right"},{"id":116,"kind":2048,"name":"fromOption","url":"classes/right.html#fromoption","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Right"},{"id":117,"kind":262144,"name":"asOption","url":"classes/right.html#asoption","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"Right"},{"id":118,"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":119,"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":120,"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":121,"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":122,"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":123,"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":124,"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":125,"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":126,"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":127,"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":128,"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":129,"kind":128,"name":"Neither","url":"classes/neither.html","classes":"tsd-kind-class"},{"id":130,"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":131,"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":132,"kind":2048,"name":"getLeftOrElse","url":"classes/neither.html#getleftorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Neither"},{"id":133,"kind":2048,"name":"getRightOrElse","url":"classes/neither.html#getrightorelse","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-overwrite","parent":"Neither"},{"id":134,"kind":2048,"name":"fromOption","url":"classes/neither.html#fromoption","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited tsd-is-static","parent":"Neither"},{"id":135,"kind":262144,"name":"asOption","url":"classes/neither.html#asoption","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-inherited","parent":"Neither"},{"id":136,"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":137,"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":138,"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":139,"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":140,"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":141,"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":142,"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":143,"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":144,"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":145,"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":146,"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":147,"kind":128,"name":"List","url":"classes/list.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":148,"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":149,"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":150,"kind":1024,"name":"head","url":"classes/list.html#head","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":151,"kind":1024,"name":"isEmpty","url":"classes/list.html#isempty","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":152,"kind":1024,"name":"tail","url":"classes/list.html#tail","classes":"tsd-kind-property tsd-parent-kind-class","parent":"List"},{"id":153,"kind":2048,"name":"fold","url":"classes/list.html#fold","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":154,"kind":2048,"name":"map","url":"classes/list.html#map","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"List"},{"id":155,"kind":2048,"name":"prepend","url":"classes/list.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":156,"kind":2048,"name":"reduce","url":"classes/list.html#reduce","classes":"tsd-kind-method tsd-parent-kind-class","parent":"List"},{"id":157,"kind":262144,"name":"asArray","url":"classes/list.html#asarray","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"List"},{"id":158,"kind":128,"name":"MaxHeap","url":"classes/maxheap.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":159,"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":160,"kind":262144,"name":"numbers","url":"classes/maxheap.html#numbers","classes":"tsd-kind-get-signature tsd-parent-kind-class tsd-is-static","parent":"MaxHeap"},{"id":161,"kind":262144,"name":"length","url":"classes/maxheap.html#length","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":162,"kind":262144,"name":"peek","url":"classes/maxheap.html#peek","classes":"tsd-kind-get-signature tsd-parent-kind-class","parent":"MaxHeap"},{"id":163,"kind":2048,"name":"pop","url":"classes/maxheap.html#pop","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"},{"id":164,"kind":2048,"name":"push","url":"classes/maxheap.html#push","classes":"tsd-kind-method tsd-parent-kind-class","parent":"MaxHeap"}]}; |
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"devDependencies": { | ||
@@ -33,0 +33,0 @@ "@tusharmathur/typedoc": "^1.0.0", |
/** | ||
* Created by tushar on 07/09/19 | ||
*/ | ||
import { NoSuchValueException } from '../internals/noSuchValueException'; | ||
import { Option } from './option'; | ||
/** | ||
@@ -11,2 +13,10 @@ * A data structure that represents Success/Failure & optional types | ||
/** | ||
* Creates an [[Either]] from [[Option]] | ||
*/ | ||
static fromOption<R>(option: Option<R>): Either<NoSuchValueException, R>; | ||
/** | ||
* Converts an [[Either]] to an [[Option]] | ||
*/ | ||
readonly asOption: Option<R1>; | ||
/** | ||
* Creates an object of [[Left]] type. | ||
@@ -80,5 +90,17 @@ */ | ||
constructor(left: L1); | ||
/** | ||
* Refer [[Either.biChain]] | ||
*/ | ||
biChain<L2, R2>(LL: (l: L1) => Either<L2, R2>, RR: (r: never) => Either<L2, R2>): Either<L2, R2>; | ||
/** | ||
* Refer [[Either.fold]] | ||
*/ | ||
fold<S>(S: S, LL: (l: L1, s: S) => S, RR: (r: never, s: S) => S): S; | ||
/** | ||
* Refer [[Either.getLeftOrElse]] | ||
*/ | ||
getLeftOrElse(left: L1): L1; | ||
/** | ||
* Refer [[Either.getRightOrElse]] | ||
*/ | ||
getRightOrElse(right: never): never; | ||
@@ -92,5 +114,17 @@ } | ||
constructor(right: R1); | ||
/** | ||
* Refer [[Either.biChain]] | ||
*/ | ||
biChain<L2, R2>(LL: (l: never) => Either<L2, R2>, RR: (r: R1) => Either<L2, R2>): Either<L2, R2>; | ||
/** | ||
* Refer [[Either.fold]] | ||
*/ | ||
fold<S>(S: S, LL: (l: never, s: S) => S, RR: (r: R1, s: S) => S): S; | ||
/** | ||
* Refer [[Either.getLeftOrElse]] | ||
*/ | ||
getLeftOrElse(left: never): never; | ||
/** | ||
* Refer [[Either.getRightOrElse]] | ||
*/ | ||
getRightOrElse(right: R1): R1; | ||
@@ -102,6 +136,18 @@ } | ||
export declare class Neither extends Either<never, never> { | ||
/** | ||
* Refer [[Either.biChain]] | ||
*/ | ||
biChain<L2, R2>(LL: (l: never) => Either<L2, R2>, RR: (r: never) => Either<L2, R2>): Either<L2, R2>; | ||
/** | ||
* Refer [[Either.fold]] | ||
*/ | ||
fold<S>(S: S, LL: (l: never, s: S) => S, RR: (r: never, s: S) => S): S; | ||
/** | ||
* Refer [[Either.getLeftOrElse]] | ||
*/ | ||
getLeftOrElse(left: never): never; | ||
/** | ||
* Refer [[Either.getRightOrElse]] | ||
*/ | ||
getRightOrElse(right: never): never; | ||
} |
@@ -6,3 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/* tslint:disable completed-docs no-use-before-declare prefer-function-over-method */ | ||
const option_1 = require("./option"); | ||
/** | ||
@@ -15,2 +15,14 @@ * A data structure that represents Success/Failure & optional types | ||
/** | ||
* Creates an [[Either]] from [[Option]] | ||
*/ | ||
static fromOption(option) { | ||
return option.asEither; | ||
} | ||
/** | ||
* Converts an [[Either]] to an [[Option]] | ||
*/ | ||
get asOption() { | ||
return this.fold(option_1.Option.none(), L => option_1.Option.none(), R => option_1.Option.some(R)); | ||
} | ||
/** | ||
* Creates an object of [[Left]] type. | ||
@@ -97,11 +109,23 @@ */ | ||
} | ||
/** | ||
* Refer [[Either.biChain]] | ||
*/ | ||
biChain(LL, RR) { | ||
return LL(this.left); | ||
} | ||
/** | ||
* Refer [[Either.fold]] | ||
*/ | ||
fold(S, LL, RR) { | ||
return LL(this.left, S); | ||
} | ||
/** | ||
* Refer [[Either.getLeftOrElse]] | ||
*/ | ||
getLeftOrElse(left) { | ||
return this.left; | ||
} | ||
/** | ||
* Refer [[Either.getRightOrElse]] | ||
*/ | ||
getRightOrElse(right) { | ||
@@ -120,11 +144,23 @@ return right; | ||
} | ||
/** | ||
* Refer [[Either.biChain]] | ||
*/ | ||
biChain(LL, RR) { | ||
return RR(this.right); | ||
} | ||
/** | ||
* Refer [[Either.fold]] | ||
*/ | ||
fold(S, LL, RR) { | ||
return RR(this.right, S); | ||
} | ||
/** | ||
* Refer [[Either.getLeftOrElse]] | ||
*/ | ||
getLeftOrElse(left) { | ||
return left; | ||
} | ||
/** | ||
* Refer [[Either.getRightOrElse]] | ||
*/ | ||
getRightOrElse(right) { | ||
@@ -139,11 +175,23 @@ return this.right; | ||
class Neither extends Either { | ||
/** | ||
* Refer [[Either.biChain]] | ||
*/ | ||
biChain(LL, RR) { | ||
return this; | ||
} | ||
/** | ||
* Refer [[Either.fold]] | ||
*/ | ||
fold(S, LL, RR) { | ||
return S; | ||
} | ||
/** | ||
* Refer [[Either.getLeftOrElse]] | ||
*/ | ||
getLeftOrElse(left) { | ||
return left; | ||
} | ||
/** | ||
* Refer [[Either.getRightOrElse]] | ||
*/ | ||
getRightOrElse(right) { | ||
@@ -150,0 +198,0 @@ return right; |
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
986678
3126