functionalscript 0.0.368 → 0.0.369
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/list/test.f.cjs +8 -6
package/package.json
CHANGED
package/types/list/test.f.cjs
CHANGED
|
@@ -159,33 +159,35 @@ const stringify = sequence => json.stringify(sort)(_.toArray(sequence))
|
|
|
159
159
|
if (result !== '[[0,"a"],[1,"b"]]') { throw result }
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
const map5 = _.map(x => x > 5)
|
|
163
|
+
|
|
162
164
|
{
|
|
163
|
-
const result = _.some(
|
|
165
|
+
const result = _.some(map5([0, 1, 7]))
|
|
164
166
|
if (!result) { throw result }
|
|
165
167
|
}
|
|
166
168
|
|
|
167
169
|
{
|
|
168
|
-
const result = _.some(
|
|
170
|
+
const result = _.some(map5([0, 1, 4]))
|
|
169
171
|
if (result) { throw result }
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
{
|
|
173
|
-
const result = _.some(
|
|
175
|
+
const result = _.some(map5([]))
|
|
174
176
|
if (result) { throw result }
|
|
175
177
|
}
|
|
176
178
|
|
|
177
179
|
{
|
|
178
|
-
const result = _.every(
|
|
180
|
+
const result = _.every(map5([0, 1, 7]))
|
|
179
181
|
if (result) { throw result }
|
|
180
182
|
}
|
|
181
183
|
|
|
182
184
|
{
|
|
183
|
-
const result = _.every(
|
|
185
|
+
const result = _.every(map5([6, 11, 7]))
|
|
184
186
|
if (!result) { throw result }
|
|
185
187
|
}
|
|
186
188
|
|
|
187
189
|
{
|
|
188
|
-
const result = _.every(
|
|
190
|
+
const result = _.every(map5([]))
|
|
189
191
|
if (!result) { throw result }
|
|
190
192
|
}
|
|
191
193
|
|