We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92274e3 commit e217810Copy full SHA for e217810
test.js
@@ -2,7 +2,7 @@ import tape from 'tape'
2
import * as combinators from './index.es6'
3
4
const {K, S} = combinators
5
-const [a, b, c, d, e] = Array.from({length: 5}, () => K(K(K(K(K(K(K)))))))
+const [a, b, c, d, e] = (function* () { while(true) yield K(K(K(K(K(K(K)))))) })()
6
7
const equal = x => y => t => (t.equal(x(a)(b)(c)(d)(e), y(a)(b)(c)(d)(e)), t.end())
8
const test = x => y => tape(x, equal(combinators[x])(y))
0 commit comments