These are chat archives for ramda/ramda

25th
Mar 2018
bayandem
@bayandem
Mar 25 2018 19:30
R.useWith(Array, R.head)([1, 2]) Does anyone know why this doesn't work ?
Brandon Chartier
@brandonchartier
Mar 25 2018 23:23
second argument should be an array of transformer functions
and the first argument should be a function. the Array constructor probably doesn't do what you expect here.
so R.useWith(Array, [R.head])([1,2]) at least runs, but I'm sure it doesn't give you the desired output.
what are you looking to do?