prelude.ts
Advanced tools
Comparing version 0.4.3 to 0.4.4
@@ -913,3 +913,3 @@ "use strict"; | ||
} | ||
if (n === this._length) { | ||
if (n >= this._length) { | ||
// not only an optimization. we want to wipe from | ||
@@ -916,0 +916,0 @@ // the first item after the current one, but in case |
@@ -66,2 +66,3 @@ "use strict"; | ||
it("handles taking all on length multiple of node size correctly", function () { return checkTake(Stream_1.Stream.iterate(1, function (i) { return i + 1; }).take(128).toVector(), 128, Stream_1.Stream.iterate(1, function (i) { return i + 1; }).take(128).toVector()); }); | ||
it("handles taking more than the whole length on length multiple of node size correctly", function () { return checkTake(Stream_1.Stream.iterate(1, function (i) { return i + 1; }).take(128).toVector(), 129, Stream_1.Stream.iterate(1, function (i) { return i + 1; }).take(128).toVector()); }); | ||
}); | ||
@@ -68,0 +69,0 @@ function checkAppend(base, toAppend, combined) { |
{ | ||
"name": "prelude.ts", | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"description": "A typescript functional programming library", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -1008,3 +1008,3 @@ import { Option } from "./Option"; | ||
} | ||
if (n === this._length) { | ||
if (n >= this._length) { | ||
// not only an optimization. we want to wipe from | ||
@@ -1011,0 +1011,0 @@ // the first item after the current one, but in case |
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
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 too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3394240
24244