These are chat archives for ramda/ramda

3rd
Oct 2016
Craig Dallimore
@craigdallimore
Oct 03 2016 07:22
Wicked!
Barry G
@bgits
Oct 03 2016 15:10
I'm wondering how can I update the 'currentAssociation' in the collection of objects with having to filter twice in a pointfree way? https://dpaste.de/zAtN
The main issue in this more imperative way is that array position is being lost when the object is updated.
LeonineKing1199
@LeonineKing1199
Oct 03 2016 16:28
I'm actually not seeing an array position in that. If anything, don't focus on point-free, that code looks like it just needs to be broken up into separate, smaller functions.
It actually looks like selectedState may not even be being used
I did a ctrl-f and it has only one match, in its definition
Barry G
@bgits
Oct 03 2016 16:46
@LeonineKing1199 selectedState is being used in one line at the end that has been omited. this.setState([selectedState]:...
LeonineKing1199
@LeonineKing1199
Oct 03 2016 16:51
Oh, good. I was gonna recommend a linting tool or something XD
LeonineKing1199
@LeonineKing1199
Oct 03 2016 16:57
Btw, I don't know if it was announced or not but the Ramda REPL is up and running again :)
Stefano Vozza
@svozza
Oct 03 2016 18:21
Yay! I actually didn't realise how much I used it until it was gone.
Michael Hurley
@buzzdecafe
Oct 03 2016 23:21
yup, wzrd.in had some difficulties that took down the REPL. No reason for it really, we should gracefully fallback when they fail
'cuz all we rely on wzrd.in for is sanctuary and ramda-fantasy
so the repl could continue without those