@calcit/procs 0.8.14 → 0.8.16
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/lib/calcit.procs.mjs +3 -0
- package/lib/package.json +1 -1
- package/package.json +1 -1
- package/ts-src/calcit.procs.mts +4 -0
package/lib/calcit.procs.mjs
CHANGED
|
@@ -1416,5 +1416,8 @@ export let gensym = unavailableProc;
|
|
|
1416
1416
|
export let macroexpand = unavailableProc;
|
|
1417
1417
|
export let macroexpand_all = unavailableProc;
|
|
1418
1418
|
export let _$n_get_calcit_running_mode = unavailableProc;
|
|
1419
|
+
export let _calcit_args_mismatch = (name, expected, got) => {
|
|
1420
|
+
return new Error(`\`${name}\` expected ${expected} params, got ${got}`);
|
|
1421
|
+
};
|
|
1419
1422
|
// already handled in code emitter
|
|
1420
1423
|
export let raise = unavailableProc;
|
package/lib/package.json
CHANGED
package/package.json
CHANGED
package/ts-src/calcit.procs.mts
CHANGED
|
@@ -1522,5 +1522,9 @@ export let macroexpand = unavailableProc;
|
|
|
1522
1522
|
export let macroexpand_all = unavailableProc;
|
|
1523
1523
|
export let _$n_get_calcit_running_mode = unavailableProc;
|
|
1524
1524
|
|
|
1525
|
+
export let _calcit_args_mismatch = (name: string, expected: number, got: number) => {
|
|
1526
|
+
return new Error(`\`${name}\` expected ${expected} params, got ${got}`);
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1525
1529
|
// already handled in code emitter
|
|
1526
1530
|
export let raise = unavailableProc;
|