From a9b8b79b0dbb7f563e8fbda3e22c3db1801a92bb Mon Sep 17 00:00:00 2001 From: Luke Davies Date: Thu, 9 May 2019 22:58:21 +0100 Subject: [PATCH] Bumped docs --- docs/assets/js/search.js | 2 +- docs/classes/lazy.html | 180 +++++++++++++++++++++++++++++---------- docs/index.html | 6 +- 3 files changed, 141 insertions(+), 47 deletions(-) diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index f507b58..d6f1d51 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"32":"Variable","128":"Class","256":"Interface","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":4194304,"name":"MapFn","url":"globals.html#mapfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":1,"kind":65536,"name":"__type","url":"globals.html#mapfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"MapFn"},{"id":2,"kind":4194304,"name":"AggFn","url":"globals.html#aggfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":3,"kind":65536,"name":"__type","url":"globals.html#aggfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"AggFn"},{"id":4,"kind":4194304,"name":"BoolPredicate","url":"globals.html#boolpredicate","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":5,"kind":65536,"name":"__type","url":"globals.html#boolpredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"BoolPredicate"},{"id":6,"kind":4194304,"name":"ComparerFn","url":"globals.html#comparerfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":7,"kind":65536,"name":"__type","url":"globals.html#comparerfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"ComparerFn"},{"id":8,"kind":4194304,"name":"CallbackFn","url":"globals.html#callbackfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":9,"kind":65536,"name":"__type","url":"globals.html#callbackfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"CallbackFn"},{"id":10,"kind":4194304,"name":"StrFn","url":"globals.html#strfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":11,"kind":65536,"name":"__type","url":"globals.html#strfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"StrFn"},{"id":12,"kind":256,"name":"IGrouping","url":"interfaces/igrouping.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":13,"kind":1024,"name":"key","url":"interfaces/igrouping.html#key","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"IGrouping"},{"id":14,"kind":1024,"name":"elements","url":"interfaces/igrouping.html#elements","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"IGrouping"},{"id":15,"kind":4194304,"name":"IndexMapFn","url":"globals.html#indexmapfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":16,"kind":65536,"name":"__type","url":"globals.html#indexmapfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"IndexMapFn"},{"id":17,"kind":4194304,"name":"CombineFn","url":"globals.html#combinefn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":18,"kind":65536,"name":"__type","url":"globals.html#combinefn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"CombineFn"},{"id":19,"kind":4194304,"name":"SortFn","url":"globals.html#sortfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":20,"kind":65536,"name":"__type","url":"globals.html#sortfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"SortFn"},{"id":21,"kind":4194304,"name":"IndexPredicate","url":"globals.html#indexpredicate","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":22,"kind":65536,"name":"__type","url":"globals.html#indexpredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"IndexPredicate"},{"id":23,"kind":4194304,"name":"IndexIsPredicate","url":"globals.html#indexispredicate","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":24,"kind":65536,"name":"__type","url":"globals.html#indexispredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"IndexIsPredicate"},{"id":25,"kind":128,"name":"Lazy","url":"classes/lazy.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":26,"kind":2048,"name":"empty","url":"classes/lazy.html#empty","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Lazy"},{"id":27,"kind":2048,"name":"from","url":"classes/lazy.html#from","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Lazy"},{"id":28,"kind":2048,"name":"range","url":"classes/lazy.html#range","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Lazy"},{"id":29,"kind":2048,"name":"repeat","url":"classes/lazy.html#repeat","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Lazy"},{"id":30,"kind":2048,"name":"aggregate","url":"classes/lazy.html#aggregate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":31,"kind":2048,"name":"all","url":"classes/lazy.html#all","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":32,"kind":2048,"name":"any","url":"classes/lazy.html#any","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":33,"kind":2048,"name":"average","url":"classes/lazy.html#average","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":34,"kind":2048,"name":"contains","url":"classes/lazy.html#contains","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":35,"kind":2048,"name":"count","url":"classes/lazy.html#count","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":36,"kind":2048,"name":"elementAt","url":"classes/lazy.html#elementat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":37,"kind":2048,"name":"elementAtOrDefault","url":"classes/lazy.html#elementatordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":38,"kind":2048,"name":"first","url":"classes/lazy.html#first","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":39,"kind":2048,"name":"firstOrDefault","url":"classes/lazy.html#firstordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":40,"kind":2048,"name":"forEach","url":"classes/lazy.html#foreach","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":41,"kind":2048,"name":"iterableEquals","url":"classes/lazy.html#iterableequals","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":42,"kind":2048,"name":"last","url":"classes/lazy.html#last","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":43,"kind":2048,"name":"lastOrDefault","url":"classes/lazy.html#lastordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":44,"kind":2048,"name":"max","url":"classes/lazy.html#max","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":45,"kind":2048,"name":"min","url":"classes/lazy.html#min","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":46,"kind":2048,"name":"resolveAll","url":"classes/lazy.html#resolveall","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":47,"kind":2048,"name":"single","url":"classes/lazy.html#single","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":48,"kind":2048,"name":"singleOrDefault","url":"classes/lazy.html#singleordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":49,"kind":2048,"name":"stringJoin","url":"classes/lazy.html#stringjoin","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":50,"kind":2048,"name":"sum","url":"classes/lazy.html#sum","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":51,"kind":2048,"name":"toArray","url":"classes/lazy.html#toarray","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":52,"kind":2048,"name":"toJSON","url":"classes/lazy.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":53,"kind":2048,"name":"toMap","url":"classes/lazy.html#tomap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":54,"kind":2048,"name":"append","url":"classes/lazy.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":55,"kind":2048,"name":"apply","url":"classes/lazy.html#apply","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":56,"kind":2048,"name":"concat","url":"classes/lazy.html#concat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":57,"kind":2048,"name":"defaultIfEmpty","url":"classes/lazy.html#defaultifempty","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":58,"kind":2048,"name":"distinct","url":"classes/lazy.html#distinct","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":59,"kind":2048,"name":"except","url":"classes/lazy.html#except","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":60,"kind":2048,"name":"groupBy","url":"classes/lazy.html#groupby","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":61,"kind":2048,"name":"groupJoin","url":"classes/lazy.html#groupjoin","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":62,"kind":2048,"name":"intersect","url":"classes/lazy.html#intersect","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":63,"kind":2048,"name":"join","url":"classes/lazy.html#join","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":64,"kind":2048,"name":"orderBy","url":"classes/lazy.html#orderby","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":65,"kind":2048,"name":"orderByDecending","url":"classes/lazy.html#orderbydecending","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":66,"kind":2048,"name":"orderNumericallyBy","url":"classes/lazy.html#ordernumericallyby","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":67,"kind":2048,"name":"orderNumericallyByDecending","url":"classes/lazy.html#ordernumericallybydecending","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":68,"kind":2048,"name":"prepend","url":"classes/lazy.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":69,"kind":2048,"name":"reverse","url":"classes/lazy.html#reverse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":70,"kind":2048,"name":"select","url":"classes/lazy.html#select","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":71,"kind":2048,"name":"selectMany","url":"classes/lazy.html#selectmany","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":72,"kind":2048,"name":"skip","url":"classes/lazy.html#skip","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":73,"kind":2048,"name":"skipLast","url":"classes/lazy.html#skiplast","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":74,"kind":2048,"name":"skipWhile","url":"classes/lazy.html#skipwhile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":75,"kind":2048,"name":"take","url":"classes/lazy.html#take","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":76,"kind":2048,"name":"takeLast","url":"classes/lazy.html#takelast","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":77,"kind":2048,"name":"takeWhile","url":"classes/lazy.html#takewhile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":78,"kind":2048,"name":"union","url":"classes/lazy.html#union","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":79,"kind":2048,"name":"where","url":"classes/lazy.html#where","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":80,"kind":2048,"name":"zip","url":"classes/lazy.html#zip","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":81,"kind":2048,"name":"__@iterator","url":"classes/lazy.html#___iterator","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":82,"kind":32,"name":"empty","url":"globals.html#empty","classes":"tsd-kind-variable"},{"id":83,"kind":32,"name":"from","url":"globals.html#from","classes":"tsd-kind-variable"},{"id":84,"kind":32,"name":"range","url":"globals.html#range","classes":"tsd-kind-variable"},{"id":85,"kind":32,"name":"repeat","url":"globals.html#repeat","classes":"tsd-kind-variable"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"32":"Variable","128":"Class","256":"Interface","1024":"Property","2048":"Method","65536":"Type literal","4194304":"Type alias"},"rows":[{"id":0,"kind":4194304,"name":"MapFn","url":"globals.html#mapfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":1,"kind":65536,"name":"__type","url":"globals.html#mapfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"MapFn"},{"id":2,"kind":4194304,"name":"AggFn","url":"globals.html#aggfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":3,"kind":65536,"name":"__type","url":"globals.html#aggfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"AggFn"},{"id":4,"kind":4194304,"name":"BoolPredicate","url":"globals.html#boolpredicate","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":5,"kind":65536,"name":"__type","url":"globals.html#boolpredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"BoolPredicate"},{"id":6,"kind":4194304,"name":"ComparerFn","url":"globals.html#comparerfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":7,"kind":65536,"name":"__type","url":"globals.html#comparerfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"ComparerFn"},{"id":8,"kind":4194304,"name":"CallbackFn","url":"globals.html#callbackfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":9,"kind":65536,"name":"__type","url":"globals.html#callbackfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"CallbackFn"},{"id":10,"kind":4194304,"name":"StrFn","url":"globals.html#strfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":11,"kind":65536,"name":"__type","url":"globals.html#strfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"StrFn"},{"id":12,"kind":256,"name":"IGrouping","url":"interfaces/igrouping.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":13,"kind":1024,"name":"key","url":"interfaces/igrouping.html#key","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"IGrouping"},{"id":14,"kind":1024,"name":"elements","url":"interfaces/igrouping.html#elements","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"IGrouping"},{"id":15,"kind":4194304,"name":"IndexMapFn","url":"globals.html#indexmapfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":16,"kind":65536,"name":"__type","url":"globals.html#indexmapfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"IndexMapFn"},{"id":17,"kind":4194304,"name":"CombineFn","url":"globals.html#combinefn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":18,"kind":65536,"name":"__type","url":"globals.html#combinefn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"CombineFn"},{"id":19,"kind":4194304,"name":"SortFn","url":"globals.html#sortfn","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":20,"kind":65536,"name":"__type","url":"globals.html#sortfn.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"SortFn"},{"id":21,"kind":4194304,"name":"IndexPredicate","url":"globals.html#indexpredicate","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":22,"kind":65536,"name":"__type","url":"globals.html#indexpredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"IndexPredicate"},{"id":23,"kind":4194304,"name":"IndexIsPredicate","url":"globals.html#indexispredicate","classes":"tsd-kind-type-alias tsd-has-type-parameter"},{"id":24,"kind":65536,"name":"__type","url":"globals.html#indexispredicate.__type","classes":"tsd-kind-type-literal tsd-parent-kind-type-alias tsd-is-not-exported","parent":"IndexIsPredicate"},{"id":25,"kind":128,"name":"Lazy","url":"classes/lazy.html","classes":"tsd-kind-class tsd-has-type-parameter"},{"id":26,"kind":2048,"name":"empty","url":"classes/lazy.html#empty","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Lazy"},{"id":27,"kind":2048,"name":"from","url":"classes/lazy.html#from","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Lazy"},{"id":28,"kind":2048,"name":"range","url":"classes/lazy.html#range","classes":"tsd-kind-method tsd-parent-kind-class tsd-is-static","parent":"Lazy"},{"id":29,"kind":2048,"name":"repeat","url":"classes/lazy.html#repeat","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-static","parent":"Lazy"},{"id":30,"kind":2048,"name":"aggregate","url":"classes/lazy.html#aggregate","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":31,"kind":2048,"name":"all","url":"classes/lazy.html#all","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":32,"kind":2048,"name":"any","url":"classes/lazy.html#any","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":33,"kind":2048,"name":"average","url":"classes/lazy.html#average","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":34,"kind":2048,"name":"contains","url":"classes/lazy.html#contains","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":35,"kind":2048,"name":"count","url":"classes/lazy.html#count","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":36,"kind":2048,"name":"elementAt","url":"classes/lazy.html#elementat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":37,"kind":2048,"name":"elementAtOrDefault","url":"classes/lazy.html#elementatordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":38,"kind":2048,"name":"first","url":"classes/lazy.html#first","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":39,"kind":2048,"name":"firstOrDefault","url":"classes/lazy.html#firstordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":40,"kind":2048,"name":"forEach","url":"classes/lazy.html#foreach","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":41,"kind":2048,"name":"iterableEquals","url":"classes/lazy.html#iterableequals","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":42,"kind":2048,"name":"last","url":"classes/lazy.html#last","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":43,"kind":2048,"name":"lastOrDefault","url":"classes/lazy.html#lastordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":44,"kind":2048,"name":"max","url":"classes/lazy.html#max","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":45,"kind":2048,"name":"min","url":"classes/lazy.html#min","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":46,"kind":2048,"name":"resolveAll","url":"classes/lazy.html#resolveall","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":47,"kind":2048,"name":"single","url":"classes/lazy.html#single","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":48,"kind":2048,"name":"singleOrDefault","url":"classes/lazy.html#singleordefault","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":49,"kind":2048,"name":"stringJoin","url":"classes/lazy.html#stringjoin","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":50,"kind":2048,"name":"sum","url":"classes/lazy.html#sum","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":51,"kind":2048,"name":"toArray","url":"classes/lazy.html#toarray","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":52,"kind":2048,"name":"toJSON","url":"classes/lazy.html#tojson","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":53,"kind":2048,"name":"toMap","url":"classes/lazy.html#tomap","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":54,"kind":2048,"name":"append","url":"classes/lazy.html#append","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":55,"kind":2048,"name":"apply","url":"classes/lazy.html#apply","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":56,"kind":2048,"name":"batchIn","url":"classes/lazy.html#batchin","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":57,"kind":2048,"name":"cache","url":"classes/lazy.html#cache","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":58,"kind":2048,"name":"concat","url":"classes/lazy.html#concat","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":59,"kind":2048,"name":"defaultIfEmpty","url":"classes/lazy.html#defaultifempty","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":60,"kind":2048,"name":"distinct","url":"classes/lazy.html#distinct","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":61,"kind":2048,"name":"except","url":"classes/lazy.html#except","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":62,"kind":2048,"name":"groupBy","url":"classes/lazy.html#groupby","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":63,"kind":2048,"name":"groupJoin","url":"classes/lazy.html#groupjoin","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":64,"kind":2048,"name":"intersect","url":"classes/lazy.html#intersect","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":65,"kind":2048,"name":"join","url":"classes/lazy.html#join","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":66,"kind":2048,"name":"orderBy","url":"classes/lazy.html#orderby","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":67,"kind":2048,"name":"orderByDecending","url":"classes/lazy.html#orderbydecending","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":68,"kind":2048,"name":"orderNumericallyBy","url":"classes/lazy.html#ordernumericallyby","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":69,"kind":2048,"name":"orderNumericallyByDecending","url":"classes/lazy.html#ordernumericallybydecending","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":70,"kind":2048,"name":"prepend","url":"classes/lazy.html#prepend","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":71,"kind":2048,"name":"reverse","url":"classes/lazy.html#reverse","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":72,"kind":2048,"name":"select","url":"classes/lazy.html#select","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":73,"kind":2048,"name":"selectMany","url":"classes/lazy.html#selectmany","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":74,"kind":2048,"name":"skip","url":"classes/lazy.html#skip","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":75,"kind":2048,"name":"skipLast","url":"classes/lazy.html#skiplast","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":76,"kind":2048,"name":"skipWhile","url":"classes/lazy.html#skipwhile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":77,"kind":2048,"name":"take","url":"classes/lazy.html#take","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":78,"kind":2048,"name":"takeLast","url":"classes/lazy.html#takelast","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":79,"kind":2048,"name":"takeWhile","url":"classes/lazy.html#takewhile","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":80,"kind":2048,"name":"union","url":"classes/lazy.html#union","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":81,"kind":2048,"name":"where","url":"classes/lazy.html#where","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":82,"kind":2048,"name":"zip","url":"classes/lazy.html#zip","classes":"tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter","parent":"Lazy"},{"id":83,"kind":2048,"name":"__@iterator","url":"classes/lazy.html#___iterator","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Lazy"},{"id":84,"kind":32,"name":"empty","url":"globals.html#empty","classes":"tsd-kind-variable"},{"id":85,"kind":32,"name":"from","url":"globals.html#from","classes":"tsd-kind-variable"},{"id":86,"kind":32,"name":"range","url":"globals.html#range","classes":"tsd-kind-variable"},{"id":87,"kind":32,"name":"repeat","url":"globals.html#repeat","classes":"tsd-kind-variable"}]}; \ No newline at end of file diff --git a/docs/classes/lazy.html b/docs/classes/lazy.html index b07af5f..13641a6 100644 --- a/docs/classes/lazy.html +++ b/docs/classes/lazy.html @@ -110,6 +110,8 @@

Methods

  • append
  • apply
  • average
  • +
  • batchIn
  • +
  • cache
  • concat
  • contains
  • count
  • @@ -176,7 +178,7 @@

    Abstract __@iterator

  • Returns Iterator<TElement>

    @@ -381,7 +383,7 @@

    append

  • @@ -417,7 +419,7 @@

    apply

  • @@ -535,6 +537,89 @@

    Returns number +
    + +

    batchIn

    +
      +
    • batchIn(batchSize: number, includeIncomplete?: boolean): Lazy<Iterable<TElement>>
    • +
    +
      +
    • + +
      +
      +

      Batches elements in groups of the given batch size.

      +
      +
      +
      remarks
      +

      Does not cause additional unexpected iteration.

      +
      +
      +
      +

      Parameters

      +
        +
      • +
        batchSize: number
        +
        +

        The size of each batch.

        +
        +
      • +
      • +
        Default value includeIncomplete: boolean = true
        +
        +

        Whether to include batches + that are smaller than the target size. This only applies + to the final batch of the iterable if the total size is + not a multiple of the batch size.

        +
        +
      • +
      +

      Returns Lazy<Iterable<TElement>>

      +
    • +
    +
    +
    + +

    cache

    +
      +
    • cache(): Lazy<TElement>
    • +
    +
      +
    • + +
      +
      +

      Resolves the underlaying iterable completely and returns a lazy + of the result.

      +
      +
      +
      remarks
      +

      This will completely iterate the underlaying iterable, + and return a completely new lazy object of the result. This allows + for some optimisation when a chain has become complex and iteration + of it is needed multiple times (as the resulting iterable will only be + calulated once, and then reused). This can also be used to ensure + that side-effects of the chain are only done once, which can be useful + in more complicated computations. + Since this will return a completely new Lazy iterable, it means that, + if no other references exist, then the previous chain (and even the + original iterable) can be freed for garbage collection, potentially + helping with memory.

      +
      +
      +
      +

      Returns Lazy<TElement>

      +
    • +
    +

    concat

    @@ -545,7 +630,7 @@

    concat

  • @@ -687,7 +772,7 @@

    defaultIfEmpty

  • @@ -724,7 +809,7 @@

    distinct

  • @@ -900,7 +985,7 @@

    except

  • @@ -1219,7 +1304,7 @@

    groupBy

  • @@ -1253,7 +1338,7 @@

    Returns
    @@ -1296,7 +1381,7 @@

    Returns @@ -2201,7 +2289,7 @@

    reverse

  • @@ -2229,7 +2317,7 @@

    select

  • @@ -2271,7 +2359,7 @@

    selectMany

  • @@ -2315,7 +2403,7 @@

    single

  • @@ -2358,7 +2446,7 @@

    singleOrDefault

  • @@ -2395,7 +2483,7 @@

    Returns TElement<
  • Type parameters

    @@ -2430,7 +2518,7 @@

    skip

  • @@ -2467,7 +2555,7 @@

    skipLast

  • @@ -2504,7 +2592,7 @@

    skipWhile

  • @@ -2541,7 +2629,7 @@

    stringJoin

  • @@ -2586,7 +2674,7 @@

    sum

  • @@ -2608,7 +2696,7 @@

    Returns TElement
  • @@ -2648,7 +2736,7 @@

    take

  • @@ -2685,7 +2773,7 @@

    takeLast

  • @@ -2720,7 +2808,7 @@

    takeWhile

  • @@ -2757,7 +2845,7 @@

    toArray

  • @@ -2784,7 +2872,7 @@

    toJSON

  • @@ -2813,7 +2901,7 @@

    toMap

  • @@ -2866,7 +2954,7 @@

    union

  • @@ -2920,7 +3008,7 @@

    where

  • @@ -2953,7 +3041,7 @@

    Returns
    @@ -2990,7 +3078,7 @@

    zip

  • +
  • + batchIn +
  • +
  • + cache +
  • concat
  • diff --git a/docs/index.html b/docs/index.html index 09723c8..fd8fcf1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -91,7 +91,7 @@

    Contents

    Installation

    Deno

    Use the following import:

    -
    import { Lazy } from 'https://deno.land/x/lazy@v1.6.0/mod.ts';
    +
    import { Lazy } from 'https://deno.land/x/lazy@v{version}/mod.ts';

    Make sure the @v{version} tag is the correct one you want. I'd recommend against master, as it could change without notice & might be broken (although I will try not to break it).

    Node

    The packge can be found here: https://www.npmjs.com/package/@luvies/lazy.

    @@ -112,12 +112,12 @@

    Overview

    function repeat<TElement>(element: TElement, count?: number): Lazy<TElement>;

    The Lazy class is the root of the module, all things come from it and are derived off it. To start using it, do something like the following:

    // Static method import.
    -import { Lazy } from 'https://deno.land/x/lazy@v1.6.0/mod.ts';
    +import { Lazy } from 'https://deno.land/x/lazy@v{version}/mod.ts';
     
     const iterable = Lazy.from([1, 2, 3, 4, 5]);
     
     // Direct function import.
    -import { from } from 'https://deno.land/x/lazy@v1.6.0/mod.ts';
    +import { from } from 'https://deno.land/x/lazy@v{version}/mod.ts';
     
     const iterable = from([1, 2, 3, 4, 5]);

    After you have done this, the full power of the module is available to play with.