These are chat archives for ramda/ramda

16th
Jul 2016
clintonjohn
@clintonjohn
Jul 16 2016 14:24
This message was deleted
clintonjohn
@clintonjohn
Jul 16 2016 14:36
This message was deleted
This message was deleted
I'm trying to find a Ramda solution similar to Underscore's "compact", which returns a copy of the array with all falsy values removed.
James Forbes
@JAForbes
Jul 16 2016 14:47
const compact = R.filter(Boolean) @clintonjohn
clintonjohn
@clintonjohn
Jul 16 2016 15:12
This message was deleted
@JAForbes like this? http://goo.gl/cHB3r3
clintonjohn
@clintonjohn
Jul 16 2016 15:36
@JAForbes thanks. I was forgetting to enclose the array within brackets