These are chat archives for ramda/ramda

16th
Jul 2018
Mike Lambert
@lax4mike
Jul 16 2018 13:44
@Jacob_Bogers_twitter , R.chain takes 1 function and 1 array. I'm not even sure what that line is doing...
Pierre
@coaxial
Jul 16 2018 16:16
Hi, I can't seem to ramda correctly... What am I missing here: https://dpaste.de/jULq, why is fn not a function?
Stefan Thon
@smuemd
Jul 16 2018 16:20
Zc xx xx
, y
,
D
Brad Compton (he/him)
@Bradcomp
Jul 16 2018 16:52

It's here: const isLts = contains('lts', tagsProp)

Instead of calling contains with two parameters, you want to compose the two calls:

const isLts = compose(contains('lts'), tagsProp);