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.
- package/package.json +1 -1
- package/src/compiler.js +1 -3
package/package.json
CHANGED
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)
|