We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d666782 commit 8b9e8d7Copy full SHA for 8b9e8d7
src/lambda-calculus.js
@@ -147,7 +147,7 @@ export function toInt(term) {
147
} else if ( config.numEncoding === "None" )
148
return term;
149
else
150
- return numEncoding.toInt(term); // Custom encoding
+ return config.numEncoding.toInt(term); // Custom encoding
151
} catch (e) {
152
if ( config.verbosity >= "Concise" ) console.error(`toInt: ${ term } is not a number in numEncoding ${ numEncoding }`);
153
throw e;
0 commit comments