These are chat archives for ramda/ramda

2nd
Aug 2017
Aaron Mc Adam
@aaronmcadam
Aug 02 2017 10:12
Is the o function named after the Owl bird? (http://www.angelfire.com/tx4/cus/combinator/birds.html)
Denis Stoyanov
@xgrommx
Aug 02 2017 10:34
No, it is bluebird
Aaron Mc Adam
@aaronmcadam
Aug 02 2017 10:34
thanks @xgrommx, I was hoping you'd answer hehe
where do you think o comes from?
Denis Stoyanov
@xgrommx
Aug 02 2017 10:35
))
I love combinators)
Maybe it is from . or
In haskell we can use infix
Aaron Mc Adam
@aaronmcadam
Aug 02 2017 10:36
ah, that makes sense
Denis Stoyanov
@xgrommx
Aug 02 2017 10:37
In classic category theory we use g • f
Aaron Mc Adam
@aaronmcadam
Aug 02 2017 10:38
yeah, I remember :) I now need to find places where I'm currying compose and try o instead
matrixbot
@matrixbot
Aug 02 2017 10:56

Siilwyn From imperative: (diffReport) => Object.assign(diffReport, {'audits': filterAudits(diffReport.audits)})
to functional: r.over(r.lensProp('audits'), filterAudits)

<3

Selwyn
@Siilwyn
Aug 02 2017 10:57
(diffReport) => Object.assign(diffReport, {'audits': filterAudits(diffReport.audits)})
r.over(r.lensProp('audits'), filterAudits)
*fixed, still figuring out using Matrix
Denis Stoyanov
@xgrommx
Aug 02 2017 11:39
Also u can use evolve for object
matrixbot
@matrixbot
Aug 02 2017 12:35
Siilwyn Thanks for the tip, that's pretty neat!
Robert Mennell
@skatcat31
Aug 02 2017 17:28
@xgrommx :+1: on evolve... I keep forgetting that's a thing. Off to go replace like 40 lines of code with like... 5