fez-lisp 1.4.20 → 1.5.0
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/README.md +5 -5
- package/lib/baked/macros.js +1 -1
- package/lib/baked/std.js +1 -1
- package/package.json +1 -1
- package/src/compiler.js +1 -1
- package/src/keywords.js +1 -1
package/package.json
CHANGED
package/src/compiler.js
CHANGED
@@ -115,7 +115,7 @@ const Helpers = {
|
|
115
115
|
atom_predicate: `atom_predicate=(number)=>+(typeof number==='number')`,
|
116
116
|
lambda_predicate: `lambda_predicate=(fn)=>+(typeof fn==='function')`,
|
117
117
|
__error: `__error=(error)=>{throw new Error(error.map((x)=>String.fromCharCode(x)).join(''))}`,
|
118
|
-
|
118
|
+
alter_effect: `alter_effect=function(array,index,value){if(arguments.length===1){array.pop()}else{array[index] = value};return array}`
|
119
119
|
}
|
120
120
|
const semiColumnEdgeCases = new Set([
|
121
121
|
';)',
|