These are chat archives for ramda/ramda

8th
Mar 2015
Hardy Jones
@joneshf
Mar 08 2015 01:13 UTC
@terakilobyte it's the same
> R.map(R.of, [1,2,3])
[ [ 1 ], [ 2 ], [ 3 ] ]
> R.flatten(R.map(R.of, [1,2,3]))
[ 1, 2, 3 ]
> R.chain(R.of, [1,2,3])
[ 1, 2, 3 ]
of course flatten squashes all layers, but in this example it works
David Chambers
@davidchambers
Mar 08 2015 01:15 UTC
There's also R.unnest, if you want just one level of flattening.
Hardy Jones
@joneshf
Mar 08 2015 01:16 UTC
ah
Hardy Jones
@joneshf
Mar 08 2015 22:22 UTC
hmm, something happened with the docs
David Chambers
@davidchambers
Mar 08 2015 22:25 UTC
What are you seeing, @joneshf? I published a new version a couple of hours ago, so that may be the cause.
Hardy Jones
@joneshf
Mar 08 2015 22:26 UTC
I get a 404 for /docs/main.js
oh, i see
it moved
David Chambers
@davidchambers
Mar 08 2015 22:27 UTC
Should be at http://ramdajs.com/docs/.
David Chambers
@davidchambers
Mar 08 2015 22:29 UTC
Ah, I see. I'll open an issue.
Michael Hurley
@buzzdecafe
Mar 08 2015 22:57 UTC
it has moved back!
Hardy Jones
@joneshf
Mar 08 2015 23:30 UTC
sweet thanks!
Eero Saynatkari
@rue
Mar 08 2015 23:44 UTC
I like pipe, but I don’t read left to right, I read top to bottom