These are chat archives for ramda/ramda

21st
Dec 2014
David Rusu
@davidrusu
Dec 21 2014 03:37
Thoughts on adding a eqDeep function? it would be similar to cloneDeep but for equality
David Chambers
@davidchambers
Dec 21 2014 04:10
You could use R.concat('./node_modules/') here, @raine.
That's certainly worth considering, @davidrusu. You could open an issue for discussion. Another option is a function which takes a serializer f and two values to compare, applies f to both values and uses === to compare the results. The serializer could be JSON.stringify (or something sane such as CANON.stringify).
Raine Virta
@raine
Dec 21 2014 07:59
davidchambers: well what do you know, cool
with #686 i guess it's also easy to flip argument order
Raine Virta
@raine
Dec 21 2014 18:51
how do I pick key value pairs from an object in specific order?
Raine Virta
@raine
Dec 21 2014 18:59
[obj[k] for k in fields]
David Chambers
@davidchambers
Dec 21 2014 19:19
You could use R.toPairs and then sort the list of pairs.