fez-lisp 1.4.10 → 1.4.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/compiler.js +1 -3
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "fez-lisp",
3
3
  "description": "Lisp interpreted & compiled to JavaScript",
4
4
  "author": "AT290690",
5
- "version": "1.4.10",
5
+ "version": "1.4.11",
6
6
  "type": "module",
7
7
  "main": "index.js",
8
8
  "keywords": [
package/src/compiler.js CHANGED
@@ -201,9 +201,7 @@ const comp = (tree, Drill) => {
201
201
  return `(${name}=(__tco(${newName}=(${parseArgs(
202
202
  functionArgs,
203
203
  Drill
204
- )})=>{${vars}return ${evaluatedBody
205
- .toString()
206
- .trim()}}, ${newName})));`
204
+ )})=>{${vars}return ${evaluatedBody.toString().trim()}})));`
207
205
  } else if (prefix === OPTIMIZATIONS.CACHE) {
208
206
  // memoization here
209
207
  const name = lispToJavaScriptVariableName(n)