These are chat archives for ramda/ramda

20th
Jan 2018
Nghiệp
@nghiepit
Jan 20 2018 06:11
bug tryCatch return undefined
Denis Stoyanov
@xgrommx
Jan 20 2018 10:30
@nghiepit not a bug (try the same in normal try/catch)
@nghiepit use for default pathOr/propOr
Francisco
@franciscotln
Jan 20 2018 17:07
@nghiepit this is not a bug but the way that prop is implemented since Ramda 0.25.0, it uses path under the hood. If you want "false" to be returned when you pass null as argument then use a normal function val => val.x
https://goo.gl/5o7jRG
Mike Lambert
@lax4mike
Jan 20 2018 21:31
reduce receives a function (acc, value) and reduceRight receives a function (value, acc). Why are the arguments swapped?