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.
2 parents 06b4b51 + afcc64f commit ef17553Copy full SHA for ef17553
src/lambda-calculus.js
@@ -140,7 +140,7 @@ export function toIntWith(cfg={}) {
140
return function toInt(term) {
141
try {
142
if ( numEncoding === "Church" ) {
143
- return term ( x => x+1 ) ( Primitive(0) ); // still stack-limited
+ return term ( x => x+1 ) ( Primitive(0) );
144
} else if ( numEncoding === "Scott" ) {
145
let result = 0, evaluating = true;
146
while ( evaluating )
0 commit comments