These are chat archives for ramda/ramda

19th
Jul 2016
James Forbes
@JAForbes
Jul 19 2016 06:26
@ChetHarrison I've been trying to explain exactly this concept recently, I can just send the link now :) Great video
λ • Geovani de Souza
@geovanisouza92
Jul 19 2016 14:41
What would be the best way to replace an ES2016 spread operation (foo(...args)) with ramda?
R.apply worked for me :)
This message was deleted
Raine Virta
@raine
Jul 19 2016 14:44
why replace though
λ • Geovani de Souza
@geovanisouza92
Jul 19 2016 14:44
I don't want to put a plugin on babel just for this
Raine Virta
@raine
Jul 19 2016 14:45
right
Chet Harrison
@ChetHarrison
Jul 19 2016 17:52
@JAForbes I'm glad you liked it
Lewis
@6ewis
Jul 19 2016 22:17
what's the equivalent of #select? list = [{a: 1, b:2}, {a: 1, b: 3}] => [2,3] ..
R.pick
Lewis
@6ewis
Jul 19 2016 22:22
I guess I have no choice but to use R.map, R.props
Denis Stoyanov
@xgrommx
Jul 19 2016 22:35
@ram-bot
pluck('b')( [{a: 1, b:2}, {a: 1, b: 3}])
ram-bot
@ram-bot
Jul 19 2016 22:35
[ 2, 3 ]
Denis Stoyanov
@xgrommx
Jul 19 2016 22:35
@6ewis you need pluck
R.pluck
Lewis
@6ewis
Jul 19 2016 22:36
thanks lol
i hate when i use something over and over then don't remember what it is