-
-
Save Raynos/53aed4d4de944e795bb2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> var o = [1,2,3] | |
undefined | |
> var hubbed = r.hub(o) | |
undefined | |
> var xs = r.map(hubbed, function (x) { console.log("x", x }) | |
... | |
> var xs = r.map(hubbed, function (x) { console.log("x", x) }) | |
undefined | |
> var ys = r.map(hubbed, function (y) { console.log("y", y) }) | |
undefined | |
> fold(merge([xs, ys]), function () {}) | |
ReferenceError: merge is not defined | |
at repl:1:7 | |
at REPLServer.self.eval (repl.js:109:21) | |
at Interface.<anonymous> (repl.js:248:12) | |
at Interface.EventEmitter.emit (events.js:96:17) | |
at Interface._onLine (readline.js:200:10) | |
at Interface._line (readline.js:518:8) | |
at Interface._ttyWrite (readline.js:736:14) | |
at ReadStream.onkeypress (readline.js:97:10) | |
at ReadStream.EventEmitter.emit (events.js:126:20) | |
at emitKey (readline.js:1058:12) | |
> r.fold(r.merge([xs, ys]), function () {}) | |
x 1 | |
x 2 | |
x 3 | |
y 1 | |
y 2 | |
y 3 | |
undefined | |
> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment