squint-cljs 0.0.13 → 0.1.15

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 CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "squint-cljs",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.0.13",
5
+ "version": "0.1.15",
6
6
  "files": [
7
7
  "core.js",
8
8
  "src/squint/core.js",
@@ -1160,3 +1160,15 @@ export function aset(arr, idx, val) {
1160
1160
  arr[idx] = val;
1161
1161
  return val;
1162
1162
  }
1163
+
1164
+ export function dorun(x) {
1165
+ for (const o of iterable(x)) {
1166
+ // nothing here, just consume for side effects
1167
+ }
1168
+ return null;
1169
+ }
1170
+
1171
+ export function doall(x) {
1172
+ // realize as concrete array
1173
+ return vec(x);
1174
+ }